CPG 1.2.1Fatal error and parse error after installation CPG 1.2.1Fatal error and parse error after installation
 

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

CPG 1.2.1Fatal error and parse error after installation

Started by catfish85, February 21, 2004, 08:20:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

catfish85

i'm a newbie to php and MySQL....

i uploaded all the files and i runned the install.php

i filled in all the required fields, this is wat i did:
admin account           - all
MySQL configuration  - all except "MySQL table prefix" as the default "cpg11d_"
Image magick           - left blank

i had added the MySQL db and the user in my cpanel.
Right after i click the "let's go" on the install.php, the following appear when i get to the gallery:

Parse error: parse error in /home/ilikefis/public_html/gallery2/include/functions.inc.php on line 917

Fatal error: Call to undefined function: breadcrumb() in /home/ilikefis/public_html/gallery2/index.php on line 118


i have tried to unlock and install it again a few times but my try is futile....

PLS help in the light of this....

Joachim Müller

If you haven't modified the file that shows the parse error, there are two options:
  • Your server is running a php version that is too old (see minimum requirements) - post what version of php you're running
  • Your files somehow got corrupted: download a fresh coppermine package, unzip it and upload it again to your server (overwriting all existing files). Make sure to use the proper modes in your FTP program (ASCII vs. Binary) when uploading.[/list:u]
    GauGau

catfish85

i downloaded the cpg ver 1.2.0 final instead of cpg1.2.1 and it work perfectly now...
i check my server's php version it is php 4.3.0. so this have fulfill the requirement for cpg1.2.1 but i don't understand y i can't install cpg1.2.1.
nevertheless i have one of the cpg installed
anyway thanx alot gau gau, ur service here is damn good and fast....

thanx   :D
Anson

Casper

As Gaugau said, this probably means your first download was corrupted.  Try upgrading to 1.2.1, it should work fine, and is recommended.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here