FAQ system error

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
gadjodilo
Posts: 30
Joined: Fri May 21, 2004 1:12 pm

FAQ system error

Post by gadjodilo »

Dear Thorsten,

We already use your FAQ systems for a couple of years at: http://www.energie-info.nl/faq. This is a nonprofit website runned by volunteers on where people is given all kinds of information about energie..
Everything worked fine all these years. However we recently changed to another webhosting provider. After that we haven done this we get the following errors on every page:

Warning: fopen(./data/tracking30102006): failed to open stream: Permission denied in /home/energiei/domains/energie-info.nl/public_html/faq/inc/functions.php on line 393

Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/domains/energie-info.nl/public_html/faq/inc/functions.php on line 395

Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/domains/energie-info.nl/public_html/faq/inc/functions.php on line 395

Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/domains/energie-info.nl/public_html/faq/inc/functions.php on line 395

Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/domains/energie-info.nl/public_html/faq/inc/functions.php on line 395

Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/domains/energie-info.nl/public_html/faq/inc/functions.php on line 395

Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/domains/energie-info.nl/public_html/faq/inc/functions.php on line 395

Warning: flock(): supplied argument is not a valid stream resource in /home/energiei/domains/energie-info.nl/public_html/faq/inc/functions.php on line 395

Warning: fclose(): supplied argument is not a valid stream resource in /home/energiei/domains/energie-info.nl/public_html/faq/inc/functions.php on line 400

Do you, or anybody who might read this know a solution for this?
Thank you in advance.

Regards,

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

Post by Thorsten »

Hi,

please add write permissions for the script in the folder /data.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
gadjodilo
Posts: 30
Joined: Fri May 21, 2004 1:12 pm

Post by gadjodilo »

Hi Thorsten.

Super. Thank you very much!

Regards,

Kabbi
gadjodilo
Posts: 30
Joined: Fri May 21, 2004 1:12 pm

PDF and Print problems

Post by gadjodilo »

Hi Thorsten,

We still have 2 little problems. When we open a print friendly fag so we can print it. In the top of the page it shows the following error:

"Notice: Only variable references should be returned by reference in /home/energiei/domains/energie-info.nl/public_html/faq/inc/database.php on line 37"

Also we have another error when we try to open a faq in PDF. We get the following error:

Warning: fopen(pdf/329.pdf): failed to open stream: Permission denied in /home/energiei/domains/energie-info.nl/public_html/faq/inc/fpdf.php on line 1044
FPDF error: Unable to create output file: pdf/329.pdf

For the last problem I probably also have to set the rights on the inc folder, or not?

Thank you in advance,

Kabbi

energie-info.nl/faq
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PDF and Print problems

Post by Thorsten »

Hi,
"Notice: Only variable references should be returned by reference in /home/energiei/domains/energie-info.nl/public_html/faq/inc/database.php on line 37"
this bug was fixed in version 1.4.10.
Warning: fopen(pdf/329.pdf): failed to open stream: Permission denied in /home/energiei/domains/energie-info.nl/public_html/faq/inc/fpdf.php on line 1044
FPDF error: Unable to create output file: pdf/329.pdf
You need write permissions for the directory /pdf.

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