Parse Error after Installing ModPack Parse Error after Installing ModPack
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Parse Error after Installing ModPack

Started by diabolus, June 11, 2007, 05:18:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

diabolus

Hi.

Did a clean install of CPG1.4.10 - tested and ran fine.
Uploaded latest version of of Stramm's modpack.
Ran update.php, which seemed to work fine (showed Upgrade Completed at bottom).

However, when I then go to my gallery's index page, I get the following error:

Parse error: parse error in /home/diabolus/grave-affair.net/html/photoswap/index.php on line 1011

Here is line 1011 of index.php:


1008   }
1009
1010   pagefooter();
1011  }
1012
1013 ob_end_flush();


Did a search of the forums but still can't figure this out. Any help to get me in the right direction?

Thanks!

diabolus

Might have fixed it... I'm not entirely sure this is the best way to go about it, but what I did was upload index.php again, which gave me a completely different error, pointing to a different file.
I then re-uploaded THAT file and the process repeated itself (new error, new file). Eventually, after re-uploading all ModPack files one by one, the gallery was operational.

I'm guessing that the problem seemed to be that the files were corrupted somehow, during batch uploading...? I uploaded the entire ModPack several times that way and would always get errors, but when I uploaded the problem files individually, it seemed to have fixed the problem.

By the way, I am using WS_FTP Pro.

Am still open to any advice/recommendations on how to better fix this issue.

Thanks.

Stramm

make sure you upload overwriting the existing files (and not append), maybe try another ftp app
index.php eg. doesn't have over 1000 lines