Welcome to Geeklog, Anonymous Saturday, December 28 2024 @ 05:00 pm EST

Geeklog Forums

parse error - public_html/staticpages/index.php(78) : eval()'d code on line 1


Status: offline

dotist

Forum User
Newbie
Registered: 04/04/04
Posts: 13
hi

i have php in static pages enabled, but i get this error when checking the php enabled button for a given static page. what is this problem? thanks! isaac
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You have an error in your PHP code ...

bye, Dirk
 Quote

Status: offline

dotist

Forum User
Newbie
Registered: 04/04/04
Posts: 13
which code? i get the error just by turning php on w/o even inserting code...
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Well, that's the problem then. When you activate PHP for a static page, the content of the page will be sent through the PHP parser (actually, through the PHP eval function), so it should actually contain PHP code or you will get an error ...

bye, Dirk
 Quote

All times are EST. The time is now 05:00 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content