Problem with {PHP:my_external_php.php}

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
fenjiao
Posts: 2
Joined: Thu 7. Oct 2010, 11:59

Problem with {PHP:my_external_php.php}

Post by fenjiao »

When i put {PHP:my_external_php.php} in my template, it make my content drop. Here is the link http://www.teenfest.com.my/dev/index.php. Plz refer to the latest news column (blue header).
Is it any solution for this?
How many time an external php script replacement tag ({PHP:my_external_php.php}) can be used in a template? I use twice for this template.

Thanks.
User avatar
Oliver Georgi
Site Admin
Posts: 9938
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Re: Problem with {PHP:my_external_php.php}

Post by Oliver Georgi »

it is not recommend to use script like this – I always recommend the use of custom replacement tags and then render your scripts in frontend_render.

You have several html problems with your site. PHP errors in your own codes can result in several problems, check unset vars, empty lines, whatever.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
fenjiao
Posts: 2
Joined: Thu 7. Oct 2010, 11:59

Re: Problem with {PHP:my_external_php.php}

Post by fenjiao »

Thanks Oliver for the reply. My problem solved.
Post Reply