Problems after update from 1.2.8 to 1.3

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Glovebox
Posts: 15
Joined: Fri 11. Nov 2005, 14:41

Problems after update from 1.2.8 to 1.3

Post 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.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post 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"
Glovebox
Posts: 15
Joined: Fri 11. Nov 2005, 14:41

Post by Glovebox »

Thanks, im sure thats it.

How do you alter root other than conf.inc.php
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post 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
Glovebox
Posts: 15
Joined: Fri 11. Nov 2005, 14:41

Post 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
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post 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
Glovebox
Posts: 15
Joined: Fri 11. Nov 2005, 14:41

Post 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.
Post Reply