e2interactive forums » Report a Bug

Search:

unexpected T_STRING

(9 posts)

  1. what does this mean?

    Parse error: syntax error, unexpected T_STRING in /home/viastage/public_html/up/gallery/getfolders.php on line 1

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/viastage/public_html/up/gallery/uploader/index.php on line 1

    Posted 11 months ago #
  2. I have had a few people ask about this error and I have been stumped as to why it is happening. The only thing I can think that I've done differently is I have updated the files lately and zipped them using a different method. I have now change the way I've been zipping the files, and uploaded new files for download. Please try the new files and let me know if you continue to get the error.

    Sorry for the inconvenience.

    Posted 11 months ago #
  3. i just downloaded this one:
    http://www.e2interactive.com/e2_photo_gallery/e2_photo_gallery_full.zip

    and reinstalled. the only thing i didn't write over was the config file.

    http://up.viastaging.com/gallery/uploader/

    Posted 11 months ago #
  4. any other suggestions?

    is it looking for a database or something? are you opposed to getting my ftp information so you can root around and check it out a little more? email me, if so and i'll give you access. i'd love to use this script and just embed it into this wordpress blog i'm putting together.

    Posted 11 months ago #
  5. that sounds good send me your info, I'll send you an email.

    Posted 11 months ago #
  6. So I think I found out what is causing this issue. It seems that the few people that have downloaded the script have then used Winrar to unzip the files. Upon uploading the files they get a message like below:

    Parse error: syntax error, unexpected T_STRING in /home/viastage/public_html/up/gallery/getfolders.php on line 1

    I would recommend, if you get this error, to try using another program to unzip the gallery, then try uploading it to your server.

    Posted 11 months ago #
  7. Im frustated!
    I still cannot get this gallery to work even using all your suggestions. Getting the same errors as above as well.
    It works when I open it locally but not online.

    In dire need of help!

    Posted 10 months ago #
  8. yahoooooooooooooooo
    It works......
    Im logged in and uploading my images now.

    Didnt do anything different other than repeatedly uploading the config and and the 2 index files until it just worked...

    fingers crossed for the next steps now

    Posted 10 months ago #
  9. The issue with this is tied to the unzipping of the file, for some reason when unzipped with certain programs it does something to the files. If you are using Winrar to unzip your file, it could be Winrar that is causing this issue. Try another unzip program and see if it works.

    Posted 10 months ago #

RSS feed for this topic

Reply

You must log in to post.