You are here:  » Problem with Joomla integration

Support Forum



Problem with Joomla integration

Submitted by andben on Tue, 2010-04-20 08:40 in

Hi,

I started using PT and find it amazing, very powerful and light fast.

Thanks to the forum I got all the essential ok, except one problem with Joomla and direct php. Everything seems Ok (direct php), I follow the info on this thread -http://www.pricetapestry.com/node/2289-, but always get this error
message:

Parse error: syntax error, unexpected '/' in /home/shoppin1/public_html/blog/plugins/content/DirectPHP.php(54) : eval()'d code on line 1

I did try to use Joomla on the root folder and viceversa, no results. No idea if is a server problem or some mistake somewhere. I am no expert at all in php.
Do you think I can fix it? Many thanks.

Regards,
Andrea

Submitted by support on Tue, 2010-04-20 13:15

Hello Andrea,

Thank you for your comments.

Firstly, could you help me to isolate whether the problem might be within the external scripts or just a more general issue; could you add the following PHP code in place of the calling code that you are currently using:

<?php
  
print "Here!";
?>

...and that should display "Here!" with no errors. Assuming that works correctly, could you perhaps email me the exact calling code that you have added to the page that causes the error above and I'll check it out...

Cheers,
David.