Page 1 of 1

Problems after update from 1.2.8 to 1.3

Posted: Thu 15. Mar 2007, 16:54
by Glovebox
Hi
Im having a few problems after updating, hoping someone can help.

update.php

Code: Select all

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

Fatal error: main() [function.require]: Failed opening required '/home/ymqnujw/public_html/setup/inc/include/inc_lib/dbcon.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ymqnujw/public_html/setup/inc/showsql.php on line 25
This error is in the update sql box, im pretty sure the sql has processed, but error maybe a clue.

frontend.css update on phpwcms.php

Code: Select all

Warning: main(/home/ymqnujw/public_html/include/inc_act/include/inc_lib/dbcon.inc.php) [function.main]: failed to open stream: No such file or directory in /home/ymqnujw/public_html/include/inc_act/act_frontendcss.php on line 30

Fatal error: main() [function.require]: Failed opening required '/home/ymqnujw/public_html/include/inc_act/include/inc_lib/dbcon.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ymqnujw/public_html/include/inc_act/act_frontendcss.php on line 30
Editing or Deleting Articles

Code: Select all

Warning: main(/home/ymqnujw/public_html/include/inc_act/include/inc_lib/dbcon.inc.php) [function.main]: failed to open stream: No such file or directory in /home/ymqnujw/public_html/include/inc_act/act_articlecontent.php on line 30

Fatal error: main() [function.require]: Failed opening required '/home/ymqnujw/public_html/include/inc_act/include/inc_lib/dbcon.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ymqnujw/public_html/include/inc_act/act_articlecontent.php on line 30
Im also getting random dbdown.php messages about 40% of the time.

Any help appreciated.

Posted: Thu 15. Mar 2007, 19:24
by juergen
Warning: main(/home/ymqnujw/public_html/setup/inc/include/.....

You should check your document root.... or define it by hand in conf.inc.php to "/home/ymqnujw/public_html"

Posted: Thu 15. Mar 2007, 19:57
by Glovebox
Thanks, im sure thats it.

How do you alter root other than conf.inc.php

Posted: Thu 15. Mar 2007, 21:40
by juergen
Glovebox wrote: How do you alter root other than conf.inc.php
hmmm.. your question is a little bit unclear.. in phpwcms document root *maybe* defined by a PHP placeholder or even in "/.../..." filestructure stuff.

So when you updated your system you'll have to take the new conf.inc.php (in case of problems) and fill in all values by hand in an editor.

check chmod permissions as well.. so problems should disapear.

Juergen

Posted: Thu 15. Mar 2007, 21:59
by Glovebox
Thank you sir, that appears to have fixed the code errors, im still getting frequent dbdown errors for some reason.. this is the url.. http://www.scottwhitetraining.co.uk

Posted: Fri 16. Mar 2007, 06:42
by juergen
Did not recognize any probs with your DB this European Morning :D

If happens agian:

Code: Select all

$phpwcms['db_pers']           = 0;
in conf.inc.php might help your server getting some extra breath *g*

Juergen

Posted: Fri 16. Mar 2007, 10:16
by Glovebox
Hi Juergen

Thanks so much for your help, it seems that it was the web server at fault, a simple restart of the mysql service fixed the problems.