Parse error: syntax error Parse error: syntax error
 

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: syntax error

Started by bajs, February 09, 2007, 09:48:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bajs


Parse error: syntax error, unexpected $end, expecting ']' in /home/.mafioso/snappyness/ian-somerhalder.info/gallery/bridge/udb_base.inc.php on line 628


??? :-\ :-[ :'( What could this be?

Nibbler


bajs

I did but now I am getting a blank, white page. This is so confusing.

I had the gallery hosted at some other place, and then I moved it to another server. When I did I had backups of the mysql so I uploaded the backups, and in the include/config.inc.php I changed my info like db username, db name, server and password. So I reuploaded that config file but then I got that message. I re-uploaded that specific file (udb_base.inc.php ) and now I get a white, blank page. I've no idea why it's acting this way.

I've never moved a gallery before, so maybe I did something wrong while moving? Do I have to start all over again?

Also I've been wondering about, if I delete the install lock file and re-install everything, will I lose the old information?

bajs

Maybe I need to edit the information in some other file, besides the include/config.inc.php ?

Joachim Müller


bajs

Okay ... then maybe it's some mysql error?

What else could it be, any ideas?

Also I've been wondering about, if I delete the install lock file and re-install everything, will I lose the old information?

kegobeer

Your uploaded files will still be there, but they will no longer be in the database.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

bajs

hmm, okay.

So any tips from the pros? What shuold I do? I just get a blank page. What shall I do? Do I need to delete everything and start all over again?

bajs

OK I deleted the install lock and tried to reinstall, but I got this msg:

The following errors were encountered and need to be corrected first:

mySQL Error: Table 'cpg143_albums' already exists on query ' CREATE TABLE cpg143_albums ( aid int(11) NOT NULL auto_increment, title varchar(255) NOT NULL default '', description text NOT NULL default '', visibility int(11) NOT NULL default '0', uploads enum('YES','NO') NOT NULL default 'NO'´

I did import the backup, so I guess thats why Im gettingt his error.

I've NO idea what to do!!