Hy,
I get some PHP errors while I'm trying to edit the 4.0 Ajax Template, just when I click on the edit template icon, I get the following errors:
Notice: Undefined index: comments_hidden in E:\localhost\www\html5\noticias\modules\modtemplate.php on line 238 Call Stack #TimeMemoryFunctionLocation 10.0039493976{main}( )..\admin.php:0 21.11172181048require_once( 'E:\localhost\www\html5\noticias\modules\admindata.php' )..\admin.php:339 31.11672537728require_once( 'E:\localhost\www\html5\noticias\modules\modtemplate.php' )..\admindata.php:99 41.11672537976templateform( )..\modtemplate.php:643 0" id="comments_hidden" name="comments_hidden">
I get that error at each table, here is a PS: PHP Error PrintScreen
PS: And another thing, when I click read full story, the path is incorrect, is like localhost/myfolder/?id=1, it has to be localhost/myfolder/news?id=1, no ? where can I change that path, Thx. (
)The error message you're seeing isn't a major error, just a coding standard warning. You can disable those warnings by editing your php.ini
file, changing error reporting to the following
error_reporting = E_ALL | E_STRICT
If the path is incorrect when you click the Read More
link, instead of using the [readmore][/readmore]
tags in the template, use your own custom link like so
<a href="http://example.com/myfolder/news?id={id}">{title}</a>
At the end I read how to display correctly the url, editind the .htaccess, etc. But when I click the read more link, I get a 404 Not found page!
Thank you for the quick reply.