I upgraded a site of mine from 1.04 to 1.06. Everything was right and all works fine, but I have just realised that the following admin pages are invisible:
admin/listtags.php
admin/eventhandlers.php
The browser shows nothing (also no HTML source), as if they were empty. I have tested all other admin pages, and they work.
I have used the vim editor to compare those files with their 1.04 versions: eventhandler.php has not changed. listtags.php now does not have 3 "exit" in the if-endif structure. That's all. Their persmissions are 644, as all admin pages.
I have searched the whole forum for a similar problem about "1.06", but I have found nothing.
Any clue? Thanks.
Marcos
--
http://alinome.net
after upgrade from 1.4 to 1.06, two admin pages are invisible
- alinome.net
- Forum Members
- Posts: 124
- Joined: Thu Jan 25, 2007 2:54 pm
- alinome.net
- Forum Members
- Posts: 124
- Joined: Thu Jan 25, 2007 2:54 pm
Re: after upgrade from 1.4 to 1.06, two admin pages are invisible
I have used HTML comments to find out, where the problem is. I have found the line that causes the problem. It is in the root file "include.php":
echo "";
$smarty =& $gCms->GetSmarty();
echo "";
The first comment appears in the HTML source, but nothing more after it.
Any clue from the developers, please? What can be wrong about that line in include.php, that only affects the files admin/eventhandlers.php and admin/listtags.php?
Marcos
echo "";
$smarty =& $gCms->GetSmarty();
echo "";
The first comment appears in the HTML source, but nothing more after it.
Any clue from the developers, please? What can be wrong about that line in include.php, that only affects the files admin/eventhandlers.php and admin/listtags.php?
Marcos
Marcos Cruz
Re: after upgrade from 1.4 to 1.06, two admin pages are invisible
check apache error log
and is php set to show errors or not?
and what is your memory_limit set to?
and is php set to show errors or not?
and what is your memory_limit set to?
- alinome.net
- Forum Members
- Posts: 124
- Joined: Thu Jan 25, 2007 2:54 pm
Re: after upgrade from 1.4 to 1.06, two admin pages are invisible
I see with phpinfo():
display_errors = off
memory_limit = 32 M
I don't own the server, I'm afraid I can not access to the error log. But I'm a bit acquainted with .htaccess. If there's something I must change in it, please tell.
(By the way, 1.06 admin panel averts me that Apache safe mode is on; 1.04 didn't.)
Thanks
display_errors = off
memory_limit = 32 M
I don't own the server, I'm afraid I can not access to the error log. But I'm a bit acquainted with .htaccess. If there's something I must change in it, please tell.
(By the way, 1.06 admin panel averts me that Apache safe mode is on; 1.04 didn't.)
Thanks
Marcos Cruz
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: after upgrade from 1.4 to 1.06, two admin pages are invisible
the safe mode warnings came in with 1.0.5
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.
- alinome.net
- Forum Members
- Posts: 124
- Joined: Thu Jan 25, 2007 2:54 pm
[solved] Re: after upgrade from 1.4 to 1.06, two admin pages are invisible
I accessed to the Apache error log at last. I found the silly error in it!tsw wrote: check apache error log
To help the user to manage the site, I created a lot of tags in Spanish, adapted to her needs. They are a simplified interface to the CMSMS tags and also to some XHTML tags needed in the content (special abbr, acronym, table rows and many more).
For the same reason, I duplicated some files in the plugin directory, renamed them and also the functions in the code. The error was caused by one of them: I had a copy of "function.global_content.php" called "function.bloque.php" but I had forgotten to rename the functions in the code itself! Some how, this didn't affect 1.04 but made two admin pages invisible in 1.06.
I hope this will help other people in the same case.
alinome.net
Marcos Cruz
Re: after upgrade from 1.4 to 1.06, two admin pages are invisible
see people, this is why we ask to check apache logs 
glad you got it working

glad you got it working