Just upgraded from the last version to 1.6 and I get this...

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
tmonaghan
Posts: 7
Joined: Sat Jan 28, 2006 1:06 pm

Just upgraded from the last version to 1.6 and I get this...

Post by tmonaghan »

Warning: main(constants.php): failed to open stream: No such file or directory in /home/sites/home/web/faq/inc/init.php on line 35

Fatal error: main(): Failed opening required 'constants.php' (include_path='') in /home/sites/home/web/faq/inc/init.php on line 35

I've successfully upgraded in the past without any problems, any ideas?

PHP Version 4.3.8

[edit] My apologies, I fixed it by adding the full path in init.php
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

is it working now?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
MichaelV
Posts: 14
Joined: Fri May 05, 2006 4:43 pm

Post by MichaelV »

Hello,

I just update from 1.4.4 and got the Same Error. I changed init.php Line 35

from

require_once('constants.php');

to the Real path

require_once('var/html/domaine.de/faq/inc/constants.php');

that works, I see the Mainpage and can enter the Admin Interface BUT if i try edit a News, than Firefox want send me the index.php for download and Internet Explorer says "Server not found" also if I want export the FAQ to PDF

Warning: main() [function.main]: Unable to access fpdf.php in /home/.cut.../inc/pdf.php on line 28

Warning: main(fpdf.php) [function.main]: failed to create stream: No such file or directory in /home/.cut.../inc/pdf.php on line 28

Fatal error: main() [function.main]: Failed opening required 'fpdf.php' (include_path='') in /home/.cut.../inc/pdf.php on line 28

It seems like in the whole Scripts are the Path to the Server Directory missing. 1.4.4. works before like a charm.

Any Suggestion ?

Regards
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,
MichaelV wrote:Fatal error: main() [function.main]: Failed opening required 'fpdf.php' (include_path='') in /home/.cut.../inc/pdf.php on line 28
your include_path is wrong. Can you change it?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply