Error Message

kks212

Joined: 2006-04-18
Posts: 15
Posted: Tue, 2007-08-07 18:03

I am getting this error message in my gallery when i try to click on an individual photo.

PLEASE HELP

Parse error: parse error, unexpected '&' in /home/holliday/public_html/Gallery/view_photo.php on line 297

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6815
Posted: Tue, 2007-08-07 18:32

It seems you have a modified view_photo.php file.

Just reupload it.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
kks212

Joined: 2006-04-18
Posts: 15
Posted: Tue, 2007-08-07 19:10

Can you tell me how i can reupload it. i.e. where can i get the file?

thanks

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6815
Posted: Tue, 2007-08-07 19:12

You upload it like you uploaded it the first time.

I cant tell you where to get the file as you didnt tell us which Gallery Version (no, not just 1) you use.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
kks212

Joined: 2006-04-18
Posts: 15
Posted: Tue, 2007-08-07 19:15

Is this what you need?

v1.5-RC2

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6815
Posted: Tue, 2007-08-07 19:23

*sigh*, yes.

Again an old outdated buggy pre-version installed via fantastico or something.

http://prdownloads.sourceforge.net/gallery/gallery-1.5-RC2.tar.gz?download

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
kks212

Joined: 2006-04-18
Posts: 15
Posted: Tue, 2007-08-07 20:34

Thanks for the reply. I am pretty stupid when it comes to this stuff and I shouldn't have tried to mess with my php file. I tried to upload just the view_photo.php from the download and now I am getting the same message different line. I'm sorry that I don't understand enough to see what is wrong in the file.

Thanks for trying.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6815
Posted: Tue, 2007-08-07 20:38

Are you sure you really copied the original over the existing?
Sometimes FTP tools try to merge them.

First, delete the file on your server. then reupload the file.
If you still get the error message, please copy the errormessage here and tell me the URL to your Gallery.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
kks212

Joined: 2006-04-18
Posts: 15
Posted: Tue, 2007-08-07 20:43

different error.

Fatal error: Call to undefined function: getnextid() in /home/holliday/public_html/Gallery/view_photo.php on line 62

here is my gallery...

http://hollidayeagle.com/Gallery/

I really appreciate this

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6815
Posted: Tue, 2007-08-07 20:57

That URL doesnt work here?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
kks212

Joined: 2006-04-18
Posts: 15
Posted: Tue, 2007-08-07 21:10

can you get to it with www.hollidayeagle.com and click on the eagles in action photo galler in the middle of the page?

I don't know why you can't open it. Man....did i screw up....

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6815
Posted: Tue, 2007-08-07 21:25

Hmm, now its working. Seems to be a temporary network issue.
Thanks for the URL.

The 'view_photo.php' file you uploaded is not from the 1.5-RC2 package.
Did you maybe download 1.5.2 ? thats not your version.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
kks212

Joined: 2006-04-18
Posts: 15
Posted: Tue, 2007-08-07 21:40

maybe i did
i downloaded the galler 1.5.6. the link that you first sent was something that had .tar.gz on the end.

is that what i needed - i couldn't get the file (gallery-1.5-RC2.tar.gz) to work

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6815
Posted: Tue, 2007-08-07 21:50

kks: please please be nice to me!

How on earth can i know that you upload a different version of the file?
If you cant handle .tar.gz (winrar for example can) then just ask.
I would have told you to download http://prdownloads.sourceforge.net/gallery/gallery-1.5-RC2.zip?download

But dont tell me

Quote:
I tried to upload just the view_photo.php from the download and now I am getting the same message different line.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
kks212

Joined: 2006-04-18
Posts: 15
Posted: Tue, 2007-08-07 21:59

I'm sorry, I can tell that you are really disturbed with me - i wish I knew a little more than i do. i guess i am a little over my head. i will try to work with that download. i will make a donation for all your trouble.

thanks and don't worry about trying to help me, i will try to figure it all out.

 
kks212

Joined: 2006-04-18
Posts: 15
Posted: Tue, 2007-08-07 22:04

it worked!

i won't bother you anymore.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6815
Posted: Tue, 2007-08-07 22:07

No *need* for a donation.

Glad you got it working.

You just bother someone here if you do things like mixing versions. ;-)
Otherwise you are very welcome with any kind of questions, or suggestions :-)

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6