Jump to content


Photo

Parse Error on line 417


Well i'm not sure if this is me doing something wrong or a possible bug

but i get this when trying to create a new public or private album,

also i'll have to notify Adriano Faria about he's Enhanced Gallery Images in Board Index hook which too is also now throwing off this in photo snapshot 2

and just so you know i took down this site and reverted it back to it's original back up twice just to be absolutely sure that it wasn't anything else that is causing this, and both times the gallery has been the cause,

so first things first lets look at the initial cause then take it from there

Attached Files


Attached Image: snapshot.jpgAttached Image: snapshot2.jpg

Status: Cannot Reproduce
Version: 0
Fixed In: 0


5 Comments

Updating Status to: Cannot Reproduce

Can you copy the FULL error? Line 417 of what file for instance?

My initial hunch is that the problem is the hook you mentioned, but hard to tell without knowing the actual error. I can create albums just fine locally.
Well without putting the main site at risk i thought setup another blank board with the gallery alone

now on accessing the newly created albums i'm now seeing new error messages

so the first one i'm getting is with the "upload" button

error code for that is "Parse error: syntax error, unexpected T_STRING in /home/admin/public_html/support/admin/applications_addon/ips/gallery/sources/classes/gallery/media.php on line 560"

and on testing the album access i'm getting the following

error code "Parse error: syntax error, unexpected T_STRING in /home/admin/public_html/support/admin/applications_addon/ips/gallery/sources/classes/gallery/rate.php on line 447"

now i did include in this ticket "2" snapshots of what i was seeing

but obviously a bug with the tracker system here which has deleted the 2 image shots

so here's the main test site http://support.rainb...x.php?/gallery/ so you can see for yourself

also note guest group can initiate the upload but not the admin group,


and as for the hook variation on a theme that the creator can deal with when the time comes
Those are the last lines of both files. They're not causing any errors for me, and it says you have a string there.

I suspect your FTP program or something else is adding strings to the ends of those files that PHP can't interpret. This does not appear to be a problem with the package itself.
ok thanks

i'll re-download a fresh copy use wrar to extract it and set binary through filezilla and upload it again

see how it goes

so i'll keep you posted on what i find
right well i thought i would close this ticket with a note to say it was the zip file i first downloaded from the client center that became somewhat corrupt

so after a second try out with a fresh download i can see everything has setup nicely with no major errors or faults so far, if anything there might be the odd one or two minor unnoticeable bugs but those will fix over time
but for now sweet as a nut everything checks out, alittle laggy on scroll but thats due to newly upgraded so the server needs to settle itself down and level itself out with a simple optimize

so we'll see how it handles over the next few day's and take it from there

as for Adriano's extended gallery hook i've sent the developer a PM to alert of the glitch thats showing up in the ACP there

so we'll see what the developer has to say about this

other than that

nice work and keep it up