No admin pages after upgrade

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

No admin pages after upgrade

Post by Kaylen »

Hi,

I have just upgraded my site to cms version 1.1 and all went well I thought, no errors etc...

But now when I go to sitename/admin, I see the login screen, I log in and then the page goes completly blank and I see nothing...

Please advise me on what to do???

Thanks in advance!!
Pierre M.

Re: No admin pages after upgrade

Post by Pierre M. »

Hello,
Kaylen wrote: ...all went well...
But now...
What may have happened beetwen "then" and "now" ?
What is your hosting provider's opinion on this ?
What has changed in the config/hosting ? What other software is installed ?
What do you see with your SSH/FTP tool ?
What is in the webserver logs ?
What is the database doctor saying ?
What about trying with another browser, from another computer ?
What is on the front side ?

Pierre M.
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: No admin pages after upgrade

Post by Kaylen »

What may have happened beetwen "then" and "now" ?
I dont now. The site is showing and you can click en go to all the menu items etc. it is only the admin side that is not showing anything anymore. I get no errors, nothing, just a blank page after I log in....

What is your hosting provider's opinion on this ?
I have not spoke to the hosting provider, it is not my own site and there for not my hostingprovider. And the person who can tell me who the provider is is on holiday. He asked me to upgrade site, wich I have done many times without problems, so I said yes....

What has changed in the config/hosting ? What other software is installed ?
As far as I know nothing. I checked the site before I upgraded and site and admin worked fine. Then I copied the new files of 1.1 over the old files went to /install/upgrade.php in my browser and followed the steps...

What do you see with your SSH/FTP tool ?
As far as I can tell all looks fine. I checked the CHMOD settigs for all the files that have changed ones and they are ok. Ik went to /admin/index.php and the file is not empty and looks ok....

What is in the webserver logs ?
I am not quite sure where to find those.... I can only acces the small part reserved for the website... Can you tell me where to look?

What is the database doctor saying ?
Database docter?? What is that?? As I said the content is showing, just not the admin side so I think db is ok

What about trying with another browser, from another computer ?
I have tried it on 2 diffrent pc's with 2 diffrent browsers (IE/ FF) and for all the same problem...

What is on the front side ?
The front side is ok: www.asystolie.nl ( thank god :S)

Thanks for you help already, hope you can help me some more??
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: No admin pages after upgrade

Post by Kaylen »

This is what I see in the source of the blank page after logging in, so I get why its shows me a blank page, just not why it is blank...






I downloaded the index.php page from the admin folder and this is what is in it:
GetDb();

include_once("header.php");
$themeObject->DisplayDashboardCallout(dirname(dirname(__FILE__)).'/install');
$themeObject->DisplayDashboardCallout(TMP_CACHE_LOCATION . '/SITEDOWN', lang('sitedownwarning', TMP_CACHE_LOCATION . '/SITEDOWN'));

// Display a warning if safe mode is enabled
if( ini_get_boolean('safe_mode') && get_site_preference('disablesafemodewarning',0) == 0 )
  {
    echo ''.lang('warning_safe_mode').'';
  }

// Display a warning if CMSMS needs upgrading
$current_version = $CMS_SCHEMA_VERSION;
$query = "SELECT version from ".cms_db_prefix()."version";
$row = $db->GetRow($query);
if ($row)
{
$current_version = $row["version"];
}
if ($current_version Warning: CMSMS is in need of an upgrade.You are now running schema version '.$current_version." and you need to be upgraded to version ".$CMS_SCHEMA_VERSION.'.Please click the following link: Start upgrade process.';
}
$themeObject->ShowShortcuts();
$themeObject->DisplaySectionMenuDivStart();
$themeObject->DisplayAllSectionPages();
$themeObject->DisplaySectionMenuDivEnd();
include_once("footer.php");

# vim:ts=4 sw=4 noet
?>


Any one any ideas?? please...?
alby

Re: No admin pages after upgrade

Post by alby »

Kaylen wrote: I downloaded the index.php page from the admin folder and this is what is in it:
<?php
#CMS - CMS Made Simple
#(c)2004 by Ted Kulp (wishy@users.sf.net)
#This project's homepage is: http://cmsmadesimple.sf.net
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#$Id: index.php 3938 2007-05-10 16:08:14Z calguy1000 $

$CMS_ADMIN_PAGE=1;
$CMS_TOP_MENU='main';
$CMS_ADMIN_TITLE='adminhome';
$CMS_ADMIN_TITLE='mainmenu';
$CMS_EXCLUDE_FROM_RECENT=1;

Try before with repost full admin directory only and check again

And second try to add here, in admin/index.php, the code:
error_reporting(E_ALL);
and check for error messages

Alby
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: No admin pages after upgrade

Post by Kaylen »

I have uploaded again just the admin directory, did not help, same problem.

Then I added the line: error_reporting(E_ALL); to index.php located under admin folder, uploaded the file, and /admin/index.php is still blank en shows no errors on screen or in the source...

Where should I check for the error messages?

O and I found the server log, and there is nothing in there...
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: No admin pages after upgrade

Post by Kaylen »

I have also tried to call some of the other pages in admin folder like listcontent.php or listmodules.php (after login)and for them I also get blank page with blank source.
It seems like the php doesn't get executed or something...??

I have addes phpinfo.php to the root and to the admin folder, both some info
http://www.asystolie.nl/admin/phpinfo.php
http://www.asystolie.nl/phpinfo.php

Maybe someone can see there what is wrong?
alby

Re: No admin pages after upgrade

Post by alby »

Kaylen wrote: I have also tried to call some of the other pages in admin folder like listcontent.php or listmodules.php (after login)and for them I also get blank page with blank source.
It seems like the php doesn't get executed or something...??

I have addes phpinfo.php to the root and to the admin folder, both some info
http://www.asystolie.nl/admin/phpinfo.php
http://www.asystolie.nl/phpinfo.php

Maybe someone can see there what is wrong?

Ok,
1. error log are in a file error_log but I don't think that you have access to
2. display_errors is off. In admin/index.php add:
ini_set('display_errors', true);
error_reporting(E_ALL);
3. You have safe mode enable, but it's an other question


Alby
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: No admin pages after upgrade

Post by Kaylen »

ok, now I get an error on screen:

Fatal error: Call to undefined function: rowcount() in /home/reanimer/public_html/modules/FeedbackForm/classes/Config.class.php on line 93

Does this mean that because i used feedbackform in my site, I dont see anything now for admin pages after te upgrade?

How can I solve this?
Pierre M.

Re: No admin pages after upgrade

Post by Pierre M. »

Hello again,
Kaylen wrote:
Isn't this odd ? Something after the HTML body ? Where does it come from ?
Can you search for "SKYPE" in the files or database ?

Have you tried to set debug on in the config.php ? This may provide usefull information.

Trying .nl/admin/login.php I see only two cookies. See the two missing cookies issue. Check all PHP "session.*" settings.

Pierre M.
Pierre M.

Re: No admin pages after upgrade

Post by Pierre M. »

User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: No admin pages after upgrade

Post by Dr.CSS »

Well if you got that far you can do 1 of 2 things...

1) most drastic... delete the FeedbackForm folder...

2) go to that file, FTP, and change any rowcount to recordcount, NOTE: it's case sensitive so if lower case use it if upper case use that...

You may find that it will come back with the same error in another file so you will need to FTP and do it to that one also until it stops giving errors...

You must have upgraded from a very old CMSMS, the rowcount to recordcount change happened from 0.* to 1.0.* iirc.

Oh and third option, go to forge and get latest FeedbackForm and FTP it to sight then when you get into site it will ask to be updated in Extensions > Modules, NOTE: it will also tell you in the Help for it that you should be using Form Builder instead as FeedbackForm has been depreciated, not actively updated any more...
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: No admin pages after upgrade

Post by Kaylen »

Thanks Mark,

I can do something with your answer!!

I indeed upgraded from version 0.13 but I did not know feedback form was depricated. Still I think someone should have thought about  that this situation could occur. I find it a bad thing that the entire admin section does not word anymore because I used old feedback forms....
Post Reply

Return to “CMSMS Core”