This Help forum is for issues relates to the latest release (1.4.6). For issues related to beta or git version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC: Blank Admin page after upgrade to 1.4.3

Blank Admin page after upgrade to 1.4.3 5 years 6 months ago #1

  • ricm
  • ricm's Avatar
Hi,

Prior to upgrading several webtree sites from 1.2.7 to 1.4.3 I took the precaution of cloning one of them to a local wamp server. After cloning, the site for non-logged-in users, the admistrative logon and admin pages were all accessible.

After the upgrade to 1.4.3 the site once agains functions normally in every respect for non-logged-in users, but after logging-in as administrator only the top-most header (div id = header) is displayed. Nothing below that is visible. Inspection of the source shows the next element is a (div id = ad_seo_box) followed by (div id = ad_seo_imgoverlay). After that is the closing </body> tag.

What checks can I make and where should I look for the problem?

Thanks,
Ric

WAMP: Apache 2.2.22; MySQL 5.5.24; PHP 5.3.13
Last Edit: 5 years 6 months ago by ricm. Reason: Server info
The administrator has disabled public write access.

Blank Admin page after upgrade to 1.4.3 5 years 6 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10708
<div id="ad_seo_box"> and <div id="ad_seo_imgoverlay"> are not part of webtrees. Perhaps your web host is injecting adverts into your site?
What checks can I make and where should I look for the problem?

Look for JS errors in your browser's error console.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Blank Admin page after upgrade to 1.4.3 5 years 6 months ago #3

  • ricm
  • ricm's Avatar
Thanks for the suggestion.

There are no errors recorded in Chrome, Firefox or Safari. Further, those IDs exhibit only in Google Chrome.

There are no ads injected as far as I can tell (they would have to link back to a resolvable URL); besides this is a local WAMP server.

In the <head> only css is called, no scripts at all. In the 1.2.7 site scripts are called from withing the <body> tag; in the 1.4.3 version the <body> is almost entirely absent (Firefox has only (div id = header). That is, no flash-messages, scripts, content..

Attached 2 images to show general differences between 1.2.7 and 1.4.3 at this point.





Does this help narrow-down the issue?

Thanks,
Ric
The administrator has disabled public write access.

Blank Admin page after upgrade to 1.4.3 5 years 6 months ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10708
The "ad_seo_*" identifiers are not part of webtrees.

You've got some non-webtrees code running on a private server. I'm not sure I can be of much help.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Blank Admin page after upgrade to 1.4.3 5 years 6 months ago #5

  • ricm
  • ricm's Avatar
Hello again,

I finally tracked down the ad_seo inclusions to a search engine that had somehow installed itself in Chrome. Even after removing the entry and restarting Chrome the entries persisted. Only after completely uninstalling chrome and reinstalling did I get a clean source. It also explains why the code never exibited in Firefox, Safari, IE9, etc. I'm glad you spotted it was non-wt code otherwise I'd never have noticed it.

Having cleaned up Chrome, I repeated the exercise of upgrading to 1.4.3 on the live server, again with a cloned site in a subdir. Everything is fine until admin login, at which point the errors displayed are:
Fatal error: Call to undefined method WT_Menu::addIcon() in /home/[account]/public_html/some-clone/modules_v3/address_report/module.php on line 57
Fatal error: Call to a member function getClientIp() on a non-object in /home/[account]/public_html/some-clone/includes/session.php(337) : runtime-created function on line 1

Once again there is nothing displayed after the header apart from the two errors.

I looked back to the apache errors on the Wamp server and discovered these:
[Mon Jul 22 11:48:29 2013] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function getClientIp() on a non-object in C:\\wamp\\www\\some-folder\\my-domain.com\\includes\\session.php(337) : runtime-created function on line 1, referer: http://my-wamp-server/some-folder/my-domain.com/login.php?url=index.php%3Fctype%3Dgedcom%26ged%3DMy%2520Family%2520History.ged
[Mon Jul 22 11:48:29 2013] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://my-wamp-server/some-folder/my-domain.com/login.php?url=index.php%3Fctype%3Dgedcom%26ged%3DMy%2520Family%2520History.ged
[Mon Jul 22 11:48:29 2013] [error] [client 127.0.0.1] PHP   1. {main}() C:\\wamp\\www\\some-folder\\my-domain.com\\index.php:0, referer: http://my-wamp-server/some-folder/my-domain.com/login.php?url=index.php%3Fctype%3Dgedcom%26ged%3DMy%2520Family%2520History.ged
[Mon Jul 22 11:48:29 2013] [error] [client 127.0.0.1] PHP   2. WT_Controller_Page->pageHeader() C:\\wamp\\www\\some-folder\\my-domain.com\\index.php:84, referer: http://my-wamp-server/some-folder/my-domain.com/login.php?url=index.php%3Fctype%3Dgedcom%26ged%3DMy%2520Family%2520History.ged
[Mon Jul 22 11:48:29 2013] [error] [client 127.0.0.1] PHP   3. require() C:\\wamp\\www\\some-folder\\my-domain.com\\library\\WT\\Controller\\Page.php:183, referer: http://my-wamp-server/some-folder/my-domain.com/login.php?url=index.php%3Fctype%3Dgedcom%26ged%3DMy%2520Family%2520History.ged
[Mon Jul 22 11:48:29 2013] [error] [client 127.0.0.1] PHP   4. WT_MenuBar::getReportsMenu() C:\\wamp\\www\\some-folder\\my-domain.com\\themes\\colors\\header.php:141, referer: http://my-wamp-server/some-folder/my-domain.com/login.php?url=index.php%3Fctype%3Dgedcom%26ged%3DMy%2520Family%2520History.ged
[Mon Jul 22 11:48:29 2013] [error] [client 127.0.0.1] PHP   5. address_report_WT_Module->getReportMenus() C:\\wamp\\www\\some-folder\\my-domain.com\\library\\WT\\MenuBar.php:402, referer: http://my-wamp-server/some-folder/my-domain.com/login.php?url=index.php%3Fctype%3Dgedcom%26ged%3DMy%2520Family%2520History.ged
[Mon Jul 22 11:48:29 2013] [error] [client 127.0.0.1] PHP   6. __lambda_func() C:\\wamp\\www\\some-folder\\my-domain.com\\includes\\session.php(337) : runtime-created function:0, referer: http://my-wamp-server/some-folder/my-domain.com/login.php?url=index.php%3Fctype%3Dgedcom%26ged%3DMy%2520Family%2520History.ged

Is the error something you can help with?
Regards,
Ric
Last Edit: 5 years 6 months ago by ricm.
The administrator has disabled public write access.

Blank Admin page after upgrade to 1.4.3 5 years 6 months ago #6

  • JAS
  • JAS's Avatar
  • Offline
  • New
  • Posts: 84
Copy directory and files WT to the directory c:\wamp\www.
In directory c:\wamp\www may not be subdirectory with WT.
WT 1.7.12
PHP7: 256 MB, 60 sec
MySql: verze 5.6.28
InnoDB
The administrator has disabled public write access.

Blank Admin page after upgrade to 1.4.3 5 years 6 months ago #7

  • ricm
  • ricm's Avatar
The same two errors manifest on the live server as well as WAMP. Are you saying that WT cannot exist within a subdirectory of another domain, only [WEBROOT]?

Otherwise I'm afraid i cannot understand your message.
Ric
The administrator has disabled public write access.

Blank Admin page after upgrade to 1.4.3 5 years 6 months ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10708
The address report no longer exists....

webtrees will try to delete it - but this only works when file permissions allow.

Simply delete the folder modules_v3/address_report and you should be good to go.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Blank Admin page after upgrade to 1.4.3 5 years 6 months ago #9

  • ricm
  • ricm's Avatar
That was exactly it.

I ran a compare between the live and the clone installations and noticed address_report had strangely remained unchanged. Now I know why.

Thanks for the help,
Ric
The administrator has disabled public write access.
Powered by Kunena Forum