Just upgraded and now when I try to generate static files, I get this:
Warning: fopen(../): failed to open stream: Is a directory in /home/jfeedwav/public_html/filefunctions.php on line 267
Warning: fwrite(): supplied argument is not a valid stream resource in /home/jfeedwav/public_html/filefunctions.php on line 268
Warning: fwrite(): supplied argument is not a valid stream resource in /home/jfeedwav/public_html/filefunctions.php on line 269
Attention: You need to chmod your ../ file to 666 so that it will be writeable.
Warning: fclose(): supplied argument is not a valid stream resource in /home/jfeedwav/public_html/filefunctions.php on line 271
And when I try to view the actual pages, that it was supposed to have generated, I get this:
<p>Setting cookie with name testcookie, value 1 and duration 11143380769</p><p>Setting cookie with name returnto, value www.lakasbemutato.com/index...TID=guestlista&exporting=1 and duration 1143381670</p><br /> <b>Parse error</b>: syntax error, unexpected T_IS_EQUAL in <b>/home/jfeedwav/public_html/commonfuncs.php(482) : eval()'d code</b> on line <b>8</b><br />
That's what it puts into the pages.
HELP! The important pages of my site are all down.
Comments on URGENT problem after upgrade
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hey Paul,
Just upgraded and now when I try to generate static files, I get this:
Warning: fopen(../): failed to open stream: Is a directory in /home/jfeedwav/public_html/filefunctions.php on line 267
Warning: fwrite(): supplied argument is not a valid stream resource in /home/jfeedwav/public_html/filefunctions.php on line 268
Warning: fwrite(): supplied argument is not a valid stream resource in /home/jfeedwav/public_html/filefunctions.php on line 269
Attention: You need to chmod your ../ file to 666 so that it will be writeable.
Warning: fclose(): supplied argument is not a valid stream resource in /home/jfeedwav/public_html/filefunctions.php on line 271
And when I try to view the actual pages, that it was supposed to have generated, I get this:
<p>Setting cookie with name testcookie, value 1 and duration 11143380769</p><p>Setting cookie with name returnto, value www.lakasbemutato.com/index...TID=guestlista&exporting=1 and duration 1143381670</p><br />
<b>Parse error</b>: syntax error, unexpected T_IS_EQUAL in <b>/home/jfeedwav/public_html/commonfuncs.php(482) : eval()'d code</b> on line <b>8</b><br />
That's what it puts into the pages.
HELP! The important pages of my site are all down.
Thanks
David
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Damn it. A single empty line in the list of pages to generate has caused the error. :P
David
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Nope. Still getting the errors.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Yaarrgh!!! I think a mistyped <IF caused it. But in that case, it should have given a message about a problem with a wrong IF statement, no?
Anyways, I think it's fine now.
David
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Normally there'd be a parse error message I'd think... unless debug mode is set to hide that from guests.
I'll auto-trim the list in case the blank line was a problem.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Cheers. That was definately the problem.
David