Webmastersite.net
Register Log In

URGENT problem after upgrade
can't generate files

Comments on URGENT problem after upgrade

david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Mar 26, 2006 - 7:49 AM:

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
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Mar 26, 2006 - 7:57 AM:

Damn it. A single empty line in the list of pages to generate has caused the error. :P

David
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Mar 26, 2006 - 8:17 AM:

Nope. Still getting the errors.
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Mar 26, 2006 - 8:42 AM:

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

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Mar 27, 2006 - 4:27 AM:

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.
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Mar 27, 2006 - 6:41 AM:

Cheers. That was definately the problem.

David
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.