Parse error eval()'d code on line 3
|
6 posts
|
Hello, I recently installed frog on my webspace and am putting togeather a new site. Worked fine for about a week of playing with it. Yesterday the only change I made was to open a few layouts and pages and changed a few divs so my pages validated. Also, last night media temple went down and was very spotty until today. Any websites on my webspace that used databases wouldn’t work and got an internal server error, but that is working again. So this is the error I get. Everything loads fine on the page except for the content from the page file… so the layout and snippets load fine. Parse error: syntax error, unexpected ‘?’ in /domains/mywebsite.com/html/mynewwebsite/frog/app/frontend/classes/Page.php(330) : eval()‘d code on line 3 I tried re-uploading the app folder… and no change. Any idea how I can fix this? I really appreciate it! |
|
1493 posts
|
It would help to know what is on line 3 of … the Homepage “Page”? It’s sidebar? Maybe both? Has something got garbled in the MT flakiness? |
|
6 posts
|
I am new to this stuff. Am I looking for line 3 of this page? /domains/mywebsite.com/html/mynewwebsite/frog/app/frontend/classes/Page.php |
|
1493 posts
|
No, of the actual edit area of your own page. That
bit is pointing to the problem line in your own “content”. (Hard to explain! Hope you understand!) |
|
6 posts
|
well line 3 is just the text describing the liscense… like 330 is this |
|
6 posts
|
Gotit… I found it in line three of one of the snippets… but heres the thing… this code worked perfectly for days.. What could have caused it to not work? |
|
6 posts
|
if I take that out everything is fixed… but how to fix?> |
|
541 posts
|
like that:
You just forgot the close the php tag correctly ?> |
|
6 posts
|
Oh man, that is super fucking embarrassing. I can’t believe I missed that. Thanks! |
|
541 posts
|
hehe that’s ok this is why I work on the codepress plugin to get this nice little highlighting on backend edition :) it will help to find those little error |
|
44 posts
|
Hello Dear, |