Moving my activeCollab installation - problems
Page: 1
While working to get FastCGI setup for php5 on my account the host reported this issue to me:
[Sun Mar 4 08:24:50 2007] [error] [client 64.81.196.17] FastCGI: server "/hsphere/local/home/username/domain.xxx/php.fcgi" stderr: PHP Fatal error: Class 'DB' not found in /hsphere/local/home/username/domain.xxx/init.php on line 98
init.php ~ line 98:
// Connect to database...
try {
DB::connect(DB_ADAPTER, array(
'host' => DB_HOST,
'user' => DB_USER,
'pass' => DB_PASS,
'name' => DB_NAME,
'persist' => DB_PERSIST
)); // connect
I've checked my config and all is well. PHP Version 5.1.4. When I try to load the site in a browser I just get a blank white page. I've searched the forums for fastcgi, .fcgi, etc. and not come up with any answers. Can anyone point me in the right direction?
Thanks,
Shelley
[Sun Mar 4 08:24:50 2007] [error] [client 64.81.196.17] FastCGI: server "/hsphere/local/home/username/domain.xxx/php.fcgi" stderr: PHP Fatal error: Class 'DB' not found in /hsphere/local/home/username/domain.xxx/init.php on line 98
init.php ~ line 98:
// Connect to database...
try {
DB::connect(DB_ADAPTER, array(
'host' => DB_HOST,
'user' => DB_USER,
'pass' => DB_PASS,
'name' => DB_NAME,
'persist' => DB_PERSIST
)); // connect
I've checked my config and all is well. PHP Version 5.1.4. When I try to load the site in a browser I just get a blank white page. I've searched the forums for fastcgi, .fcgi, etc. and not come up with any answers. Can anyone point me in the right direction?
Thanks,
Shelley
Update. I turned debug on and got a little more information.
Warning: include(/home/content/s/m/k/username/html/projects/environment/library/database/DB.class.php) [function.include]: failed to open stream: No such file or directory in /hsphere/local/home/smkeith/projects.k-kubed.com/application/functions.php on line 20
Warning: include() [function.include]: Failed opening '/home/content/s/m/k/username/html/projects/environment/library/database/DB.class.php' for inclusion (include_path='/hsphere/local/home/smkeith/projects.k-kubed.com:/hsphere/local/home/smkeith/projects.k-kubed.com/application') in /hsphere/local/home/smkeith/projects.k-kubed.com/application/functions.php on line 20
Fatal error: Class 'DB' not found in /hsphere/local/home/username/domain.xxx/init.php on line 98
The paths in the 2 warnings are not the correct path into my site, but the "Fatal Error" path is correct. Has anyone seen this before? I've submitted this info to my host as well, I'm just hoping to get this cleared up asap.
Thanks,
Shelley
Warning: include(/home/content/s/m/k/username/html/projects/environment/library/database/DB.class.php) [function.include]: failed to open stream: No such file or directory in /hsphere/local/home/smkeith/projects.k-kubed.com/application/functions.php on line 20
Warning: include() [function.include]: Failed opening '/home/content/s/m/k/username/html/projects/environment/library/database/DB.class.php' for inclusion (include_path='/hsphere/local/home/smkeith/projects.k-kubed.com:/hsphere/local/home/smkeith/projects.k-kubed.com/application') in /hsphere/local/home/smkeith/projects.k-kubed.com/application/functions.php on line 20
Fatal error: Class 'DB' not found in /hsphere/local/home/username/domain.xxx/init.php on line 98
The paths in the 2 warnings are not the correct path into my site, but the "Fatal Error" path is correct. Has anyone seen this before? I've submitted this info to my host as well, I'm just hoping to get this cleared up asap.
Thanks,
Shelley
It was paths in the files in the /cache folder. I was moving from one host to another. I replaced all of the bad paths with the new paths and it works.
Ok, good to know. Now aC thinks I need to upgrade (I don't, I had already done so before migrating) but it thinks I'm on v0.6. I went ahead and did the file delete/upload and tried to use the /public/upgrade script but I get an error on 0.6 > 0.7:
# Failed to execute DB schema transformations. MySQL said: Table 'ac_attached_files' already exists
when I try to upgrade 0.7 > 0.7.1 I get:
This upgrade script can be used only to upgrade 0.7 to 0.7.1
Any ideas?
# Failed to execute DB schema transformations. MySQL said: Table 'ac_attached_files' already exists
when I try to upgrade 0.7 > 0.7.1 I get:
This upgrade script can be used only to upgrade 0.7 to 0.7.1
Any ideas?
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.



