php inclusion

Is Coranto not working properly for you? Here's where to ask for support help; for best results, follow these steps:
  • - Check your core/addon documentation for possible solutions
  • - Search these forums for similar problems that have already been solved
  • - If you're still stumped, check out THIS TOPIC, and post your question in this forum!!

Moderators: Spunkmeyer, Dale Ray, SrNupsen, Bluetooth, Jackanape

php inclusion

Postby Misutowolf » Mon Jun 02, 2008 5:48 pm

I have grabbed an addon that allows you to rename output files to PHP...

I've had said addon rename my news file to blah.php, and wish to be able to insert PHP statements in my news posts, but it keeps eating them and not displaying anything. What can I do to have it work properly?

Said PHP snippets are something like:

Code: Select all
<?php codedisp_il(id,width); ?>


If anyone could help, it would be greatly appreciated.

Edit:

I've checked the News Text field options and made sure that all forms of tag stripping/removal have been disabled, and it still happens. I really want to fix this badly.
Misutowolf
 
Posts: 2
Joined: Mon Jun 02, 2008 5:45 pm

Postby SrNupsen » Mon Jun 02, 2008 7:33 pm

In particular, the "Strip code?" option should be set to no. If you set up a test account for me and PM me the details I'll look into it for you :)
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Postby Misutowolf » Mon Jun 02, 2008 7:47 pm

I found a topic by someone who found a bug in crcore.pl.

I'll post a link later after work when I can find it again. Thanks again!
Misutowolf
 
Posts: 2
Joined: Mon Jun 02, 2008 5:45 pm

Postby SrNupsen » Mon Jun 02, 2008 10:44 pm

Good work! Yeah, please post the link.
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Postby Abbeyvet » Tue Jun 03, 2008 7:26 am

Or use Anne Rice to replace the start and end of the include string.

Then you can put something like this in the news text:
[include]/path/to/file.php[/include]
Abbeyvet
 
Posts: 111
Joined: Thu Jan 11, 2007 11:17 am
Location: Kilkenny, Ireland


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests

cron