Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.


kwidyolar
Beginner Modder
ranks
useravatar
User Info

W3C Link Checker & Markup Validation throw 500 Internal Server Error

W3C link checker and Markup Validation no longer work on my site. Server logs show a PHP error that points to mod_metamod

[Wed Feb 10 14:57:05 2010] [error] [client 128.30.52.71] PHP Parse error:  syntax error, unexpected '<' in /home/tangobeat/public_html/modules/mod_metamod/helper.php(523) : eval()'d code on line 1

Also when opening MetaMod module, the following code displays at the top of the page. Don't know if it's related.

div#module-status { background: none; }span.labels-status { background: transparent url(components/com_labels/media/images/icon-16-jx.png) no-repeat scroll 2px 4px}span.legacy-mode { background: transparent url(http://www.tangobeat.com/administrator/ … i_icon.png) no-repeat scroll 3px 5px} -->


What do you make of this? Using Joomla 1.5.15, PHP 5.2.10, MetaMod 2.2c

Thank you,
Keith


Administrator has disabled public posting
metamodguy
useravatar
User Info

Re: W3C Link Checker & Markup Validation throw 500 Internal Server Error

Hi Keith,

that error points to an error in the PHP you have in the PHP box (...eval()'d code...)

Given that it has found a stray "<" in line 1, I wonder if you accidentally put <?php on to the 1st line? If so, you don't need that. Just start writing PHP code directly.

If you're stuck, post your PHP code on here and I'll take a look.

Cheers,
Stephen


Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory

Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 3076  Total Topics: 1195  Total Polls: 7  Total Posts: 4448  Posts this week: 18
User Info:   Newest User :  tao   Members Online: 1   Guests Online: 66
Online 
swivion
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked