Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Getting parsing error, but not sure how to resolve it.

Asked Modified Viewed 2,416 times
K
kd6oji
K
kd6oji 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
asked
Junior Member

My site is located at http://www.collinares.net.

I have the latest version, 7.02.07, running, yet am getting this odd parsing error no matter what theme is being used:

Parse error: syntax error, unexpected '<' in C:\wamp\www\collinares.net\themes\templates\panels.php(74) : eval()'d code on line 2
Call Stack
# Time Memory Function Location
1 0.0009 306856 {main}( ) ..\news.php:0
2 0.0338 874544 require_once( 'C:\wamp\www\collinares.net\themes\templates\header.php' ) ..\news.php:19
3 0.0383 1058472 require_once( 'C:\wamp\www\collinares.net\themes\templates\panels.php' ) ..\header.php:50


I've checked the lines in the files referenced per above, yet am not finding any <> symbols at all.

my template\header.php and panels.php are attached

Note, I have NOT made any changes to these files, I did however, migrate the site from one host to another, and did do a database backup and had to restore said backup via phpmyadmin as the restore function in PHPFusion gave me an illegal upload file attempt error.
0 replies

4 posts

P
PeaceLaced
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
answered
Member

If you have made no modifications, download a clean version and upload the couple files that are referenced in the error. See if this corrects the problem. It is possible there is a corruption somewhere.
0 replies
K
kd6oji
K
kd6oji 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

I have done that, will download another copy and retry though.

Merged on Mar 27 2014 at 04:10:02:
No changes, reverted back to base 7.02.00 files. I also commented out the majority of the upload checking from maincore in order to upload the backup database copy via PHPFusion which was working fine.
I have also completely deleted and re installed the working copy of 7.02.06 which did not have the parse error on the old host, yet it does appear on my WAMP system.

Merged on Mar 27 2014 at 17:28:39:
have completely re-installed the website from scratch, still getting the parsing error.. aughh, frustrating. Next line is to redo from setup, and see if it occurs from database import or not.

Merged on Mar 27 2014 at 17:58:34:
Seems the parse error occurs when I import the database backup.
I need the old data as it contains several custom pages and user data.
Edited by kd6oji on 27-03-2014 19:58,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

It's from one of your current panels in your backup.

On your Fusion site go to Admin >>> System >>> Panels, disable all panels one by one until you find which panel is the culprit for that extra <
0 replies
K
kd6oji
K
kd6oji 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

That got it, thank you for the suggestion! I was pulling my hair out..

I found the errant panel and will examine it for errant lazy carats.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

P
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
K
K
kd6oji 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet