[solved] 404 error page with custom template don't work
[solved] 404 error page with custom template don't work
When I active the error message 404 with a my custom template I get this error:
Fatal error: Call to a member function GetURL() on a non-object in D:\Webdev\xampp\htdocs\dm2\tmp\templates_c\%%19^194^194941AA%%tpl_head%3A22.php on line 13
What does it mean?
Fatal error: Call to a member function GetURL() on a non-object in D:\Webdev\xampp\htdocs\dm2\tmp\templates_c\%%19^194^194941AA%%tpl_head%3A22.php on line 13
What does it mean?
Last edited by Samuele on Wed Mar 11, 2009 6:41 am, edited 1 time in total.
_________________________________________________
Samuele
Samuele
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: 404 error page with custom template don't work
Please follow forum rules when posting.
You've been warned.
You've been warned.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: 404 error page with custom template don't work
Why? What I did wrong?calguy1000 wrote: Please follow forum rules when posting.
You've been warned.
_________________________________________________
Samuele
Samuele
Re: 404 error page with custom template don't work
Techaven wrote: What's he done wrong posting that?
Try deleting the contents of templates_c Samuele.
Even deleting all files in the folder tmp/templates_c does not work.
_________________________________________________
Samuele
Samuele
Re: 404 error page with custom template don't work
The forum rules are in README FIRST!!! forum.Techaven wrote: What's he done wrong posting that?
It's very difficult support users when the info are lacking.
- What is the version of CMSMS
- What is your OS
- What is the version of PHP
- .....
A good start is the posting of System Information of admin part .....
In this case also is important:
When I active the error message 404 ... How? In Global Settings, .htaccess, httpd.conf, .....
Alby
Re: 404 error page with custom template don't work
In Global Settins, I'm using cmsms 1.5.3 on xampp 1.7 under winxp sp3alby wrote: When I active the error message 404 ... How? In Global Settings, .htaccess, httpd.conf, .....
_________________________________________________
Samuele
Samuele
Re: 404 error page with custom template don't work
Active debug in config.php and look for pertinent info, same after for your server logsSamuele wrote:In Global Settins, I'm using cmsms 1.5.3 on xampp 1.7 under winxp sp3alby wrote: When I active the error message 404 ... How? In Global Settings, .htaccess, httpd.conf, .....
Alby
Re: 404 error page with custom template don't work
I have tried under the same conditions XP+ xampp 1.7 + CMSMS 1.5.3 but I can not reproduce the problemalby wrote:Active debug in config.php and look for pertinent info, same after for your server logsSamuele wrote:In Global Settins, I'm using cmsms 1.5.3 on xampp 1.7 under winxp sp3alby wrote: When I active the error message 404 ... How? In Global Settings, .htaccess, httpd.conf, .....
Search with debug active and in server logs
Alby
Re: 404 error page with custom template don't work
With a new installation of cmsms with data example, debug=true in config.php, this are the errors when, for example, I click this url
In apache access.log file:
Code: Select all
http://localhost:85/cmsmadesimple/1/
Code: Select all
Notice: Undefined index: content_obj in D:\Webdev\xampp\htdocs\cmsmadesimple\tmp\templates_c\%%42^420^420EE6E6%%tpl_head%3A17.php on line 7
Fatal error: Call to a member function GetURL() on a non-object in D:\Webdev\xampp\htdocs\cmsmadesimple\tmp\templates_c\%%42^420^420EE6E6%%tpl_head%3A17.php on line 7
In apache access.log file:
Code: Select all
127.0.0.1 - - [10/Mar/2009:08:52:45 +0100] "GET /cmsmadesimple/1/ HTTP/1.1" 404 414
_________________________________________________
Samuele
Samuele
Re: 404 error page with custom template don't work
Try thisSamuele wrote: With a new installation of cmsms with data example, debug=true in config.php, this are the errors when, for example, I click this url
I must investigate because I have not this
Alby
Re: 404 error page with custom template don't work
May all your dreams come true and you become filthy rich with a big heart!
Thanks!!!!
Thanks!!!!
Re: 404 error page with custom template don't work
http://forum.cmsmadesimple.org/index.ph ... 669.0.html
Yeah, that fixed it. It's a new thing with the latest version, good simple fix in the template.
Yeah, that fixed it. It's a new thing with the latest version, good simple fix in the template.
Re: 404 error page with custom template don't work
_________________________________________________
Samuele
Samuele