install issue

thread: 7 messages  |  last: about 3 years ago  |  started: tuesday, march 6, 2007, 12:57 pm pst


#1  |  msaraujo (Uberlandia, MG - Brazil) Brazil
Tuesday, March 6, 2007, 12:57 PM PST

Hi,

I am new to QCodo and I am getting problems with the installation process. When I unzip it inside my apache (wwwroot) directory and then I access index.php (http://localhost/index.php) nothing happens.

Any idea?

Regards,

-Marcelo

#2  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Wednesday, March 7, 2007, 1:52 PM PST

you'll need to provide a lot more information.
What webserver/os/php and versions are you using?
Where did you install the files, and how is your docroot set up?
How did you set up your directory constants in configuration.inc.php (did you follow the steps of the README.txt file?)

#3  |  r1dobelky (gading raya, jakarta) Indonesia
Monday, November 24, 2008, 5:06 AM PST

hi

i got the same problem like marcelo
here my configuration:
i use xampp (apache server,php5,mysql5)
i made database name=scbdnet user=root passwrd=''
i unzip qcodo in my xampp, so it looks like this c:/xampp/htdocs/qcodo-0.3.32
i rename qcodo-0.3.32 => qcodo so it looks like this c:/xampp/htdocs/qcodo

i change the file c:/xampp/htdocs/qcodo/wwwroot/includes/configuration.inc.php :

          //  define ('__DOCROOT__', 'c:/xampp/htdocs/qcodo/wwwroot');
      //  define ('__VIRTUAL_DIRECTORY__', '');
      // define ('__SUBDIRECTORY__', '');

       //  define('DB_CONNECTION_1', serialize(array(
   //    'adapter' => 'MySqli5',
   //    'server' => 'localhost',
   //    'port' => null,
   //    'database' => 'scbdnet',
   //    'username' => 'root',
   //    'password' => '',
   //    'profiling' => false)));

is it right what i have change??

regards,
rikky

#4  |  Netino (Sao Paulo, Brasil)
Monday, November 24, 2008, 12:15 PM PST

In windows, paths are not named with '/' (normal bar), but instead with '\' (backslash).
Wouldn

#5  |  r1dobelky (gading raya, jakarta) Indonesia
Monday, November 24, 2008, 9:25 PM PST

hi netino
thanx for reply

i Try to use:
define ('__DOCROOT__', 'c:\\xampp\\htdocs\\qcodo\\wwwroot');
but it doesn't work and then i try to use:
define ('__DOCROOT__', 'c:\xampp\htdocs\qcodo\wwwroot');
it still doesn't work
when i access http://localhost/qcodo/wwwroot in browser firefox and then show up this:

Warning: require(/home/qcodo/wwwroot/includes/qcodo/_core/qcodo.inc.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\qcodo\wwwroot\includes\prepend.inc.php on line 22

Fatal error: require() [function.require]: Failed opening required '/home/qcodo/wwwroot/includes/qcodo/_core/qcodo.inc.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\qcodo\wwwroot\includes\prepend.inc.php on line 22

am i missing something to change other files?

Regards,
Rikky

#6  |  VexedPanda (Calgary, AB) Canada
Tuesday, November 25, 2008, 11:44 AM PST

Where is /home coming from?
The include for qcodo.inc.php uses _QCODO_CORE_, which is defined as _INCLUDES_ . '/qcodo/_core', and _INCLUDES_ is defined as _DOCROOT_ .  _SUBDIRECTORY_ . '/includes'

So what it should be trying to include, if your _DOCROOT_ is set as you say it is, is:
c:\xampp\htdocs\qcodo\wwwroot/includes/qcodo/_core/qcodo.inc.php

(This would work).

Have you overridden _QCODO_CORE_ or _INCLUDES_? If not, it sounds like your _DOCROOT_ is being ignored somehow.

#7  |  r1dobelky (gading raya, jakarta) Indonesia
Wednesday, November 26, 2008, 9:09 PM PST

thanx all
it helps me a lot
its working now

regards,
rikky



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.