Page 1 of 1

after upgrade from 1.4 to 1.06, two admin pages are invisible

Posted: Mon May 07, 2007 11:05 pm
by alinome.net
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

Re: after upgrade from 1.4 to 1.06, two admin pages are invisible

Posted: Sun May 13, 2007 5:20 pm
by alinome.net
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

Re: after upgrade from 1.4 to 1.06, two admin pages are invisible

Posted: Sun May 13, 2007 5:34 pm
by tsw
check apache error log

and is php set to show errors or not?

and what is your memory_limit set to?

Re: after upgrade from 1.4 to 1.06, two admin pages are invisible

Posted: Sun May 13, 2007 7:05 pm
by alinome.net
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

Re: after upgrade from 1.4 to 1.06, two admin pages are invisible

Posted: Sun May 13, 2007 7:10 pm
by calguy1000
the safe mode warnings came in with 1.0.5

[solved] Re: after upgrade from 1.4 to 1.06, two admin pages are invisible

Posted: Wed May 16, 2007 11:14 am
by alinome.net
tsw wrote: check apache error log
I accessed to the Apache error log at last. I found the silly error in it!

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

Re: after upgrade from 1.4 to 1.06, two admin pages are invisible

Posted: Wed May 16, 2007 12:10 pm
by tsw
see people, this is why we ask to check apache logs :)

glad you got it working