Author Topic: Help! sudden parse error  (Read 8479 times)

0 Members and 1 Guest are viewing this topic.

Offline NoBob

  • Newbie
  • *
  • Posts: 47
    • View Profile
Help! sudden parse error
« on: June 08, 2003, 03:30:49 PM »
I changed the pixel thickness of the border in categories template and now I have a parse error. Help! Please! My home page is now messed up:

On the home page:
Parse error: parse error, unexpected T_STRING in /usr/local/psa/home/vhosts/rtwtravel.com/httpdocs/gallery/includes/template.php(133) : eval()'d code on line 246

Best, NoBob.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Help! sudden parse error
« Reply #1 on: June 08, 2003, 04:55:52 PM »
this error usualy acure when u dont do properly include another file:
http://4homepages.de/forum/viewtopic.php?t=4295
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline NoBob

  • Newbie
  • *
  • Posts: 47
    • View Profile
nothing works
« Reply #2 on: June 08, 2003, 05:00:56 PM »
I keep getting the parse error on the home page. I've deleted and replaced templates and admin files with originals and nothing works.

NoBob.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Help! sudden parse error
« Reply #3 on: June 08, 2003, 05:03:40 PM »
how u have backups of what u changed...restore your last changes u made, in any files.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline NoBob

  • Newbie
  • *
  • Posts: 47
    • View Profile
nope
« Reply #4 on: June 08, 2003, 05:11:09 PM »
I hit the restore button on the database backup panel. Is that it? Nothing's changed.

NoBob

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Help! sudden parse error
« Reply #5 on: June 08, 2003, 05:18:53 PM »
no, I ment files u edited
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline NoBob

  • Newbie
  • *
  • Posts: 47
    • View Profile
No I don't
« Reply #6 on: June 08, 2003, 05:23:23 PM »
No, I don't have those.

Should I reinstall the whole gallery (except the folders containing images) then? Will that work?
 
NoBob.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Help! sudden parse error
« Reply #7 on: June 08, 2003, 05:25:31 PM »
yes, but u'd better start doing backups before u do any changes in files ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline NoBob

  • Newbie
  • *
  • Posts: 47
    • View Profile
Okay
« Reply #8 on: June 08, 2003, 05:29:46 PM »
Okay, just to make sure that I install it again without f***ing up the database or image links, or whatever, do I just delete all the files and folders, and just leave the media/folders in tact? Or do I have to start from zero?

NoBob.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Help! sudden parse error
« Reply #9 on: June 08, 2003, 05:33:33 PM »
overwriting exist files with new/fresh from the package - should work.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline NoBob

  • Newbie
  • *
  • Posts: 47
    • View Profile
Now it's all messed up
« Reply #10 on: June 08, 2003, 06:48:43 PM »
Can't believe that six hours ago everything was working perfectly, now I get this after reinstalling all the files:

DB Error: Bad SQL Query: SELECT setting_name, setting_value FROM 4images_settings
Table 'pictures.4images_settings' doesn't exist

What to do?

NoBob

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Now it's all messed up
« Reply #11 on: June 08, 2003, 07:17:07 PM »
Quote from: NoBob
DB Error: Bad SQL Query: SELECT setting_name, setting_value FROM 4images_settings
Table 'pictures.4images_settings' doesn't exist

What to do?

http://4homepages.de/forum/viewtopic.php?t=2758
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline poca

  • Pre-Newbie
  • Posts: 6
    • View Profile
Fatal error
« Reply #12 on: June 09, 2003, 01:19:23 PM »
Well, I have a similar error:

Fatal error: Allowed memory size of 4194304 bytes exhausted at (null):0 (tried to allocate 737280 bytes) in /www/data/site.ee/www/includes/template.php(133) : eval()'d code on line 3723

It only appears when I'm logged in as admin. Otherways it's ok. And only on 1 certain image. I has about 54 comments. What seems to be the problem? I can't figure it out.