upgrade from 1.1-RC4 to 1.2.8 fatal error

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
loub0999
Posts: 28
Joined: Sun 10. Dec 2006, 04:27
Location: Montreal, Quebec, Canada
Contact:

upgrade from 1.1-RC4 to 1.2.8 fatal error

Post by loub0999 »

Ok I got the files from http://www.phpwcms.de/forum/viewtopic.php?t=11933 and am following the instructions from http://www.phpwcms-docu.de/update_to_dev._1.1.x.phtml

I've done the first three steps in the instructions, I am not too sure about a few lines in the conf.inc.php file:

Code: Select all

$phpwcms['site']= 'http://'.$_SERVER['firsttimesellers.com'].'/';
$phpwcms['admin_email'] = 'myemailhere';
// paths
$phpwcms['DOC_ROOT'] = $_SERVER['phpWCMS'];
$phpwcms['root']= '';
Line 41 the root, what is supposed to go there? It isn't a parameter in the old config file, and am I supposed to leave all the server variable codes or do i simply write out the paths without all that code arround it?

Something is wrong because I get this message when I try to run the upgrade page http://firsttimesellers.com/phpWCMS/setup/upgrade.php

Code: Select all

Warning: main(/www/include/inc_lib/dbcon.inc.php) [function.main]: failed to open stream: No such file or directory in /home/first/public_html/phpWCMS/setup/upgrade.php on line 25

Fatal error: main() [function.require]: Failed opening required '/www/include/inc_lib/dbcon.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/first/public_html/phpWCMS/setup/upgrade.php on line 25
It seems to be saying some files are missing, but they are there, I checked. So it would seem there is a problem in my configuration file, I guess. But I'm not a programmer, I don't have a clue what all this code is. I'll keep trying, but this is very upsetting. My site no longer functions! :(
The only limits that exist, are those we impose on ourselves!
-me
loub0999
Posts: 28
Joined: Sun 10. Dec 2006, 04:27
Location: Montreal, Quebec, Canada
Contact:

Post by loub0999 »

I figured out my problem, in the config file, I wasn't supposed to touch line 36 and 40

Code: Select all

$phpwcms['site']= 'http://'.$_SERVER['SERVER_NAME'].'/';
$phpwcms['DOC_ROOT']= $_SERVER['DOCUMENT_ROOT'];
I guess the the genious that programmed this nice app figured out how to auto configure the paths with php! :P

I don't know squat about all this code, I asumed that when the instructions for the update said to transfer data from the old config files to the new updated config file, it meant all the old lines of variable defenitions.

The old conf.inc.php file read:

Code: Select all

$phpwcms["site"] = "http://firsttimesellers.com/";
$phpwcms["root"]= "phpWCMS";
So I actualy figured this out by myself, wow! :wink:

Now i fix the other bugs! :(
The only limits that exist, are those we impose on ourselves!
-me
Post Reply