• Home
  • Get help
  • Ask a question
Last post 15 min ago
Posts last week 82
Average response time last week 34 min
All time posts 68047
All time tickets 10515
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1569 – White screen editing joomla article

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 18 December 2015 23:52 UTC
françois
 Hi,

I get a fatal error and resulting white page when trying to edit any article in joomla back end.

The error message reads : Fatal error: Call to undefined method ShlHtml_Manager::getMediaLink() in /srv/data/web/vhosts/www.xxxx.fr/htdocs/plugins/system/sh404sef/sh404sef.php on line 268

Line 268 reads : $link .= '<link rel="stylesheet" href="' . ShlHtml_Manager::getInstance()->getMediaLink('bs', 'css') . '" type="text/css" />';

Your help will be greatly appreciated.
Monday, 21 December 2015 12:54 UTC
wb_weeblr
Hi

This would indicate either some error during installation (some parts of sh404SEF are missing) or some mismatch in versions.

What are
- sh404SEF exact and full version?
- shLib system plugin full version?
- do you also have Josetta installed?

Rgds
 
Monday, 21 December 2015 16:36 UTC
françois
Hello,

Thanks for your answer.  I have sh404sef version 4.7.1.3144 installed, and version 0.3.0.471 of the shLib plugin, I do not use Josetta.
When the problem started, I reinstalled the latest version of sh404sef, it made no difference. 

Thanks in advance,

François

Le 21/12/2015 13:54, Weeblr a écrit :

Monday, 21 December 2015 17:23 UTC
wb_weeblr
Hi

hmmm that sounds pretty weird.
What Joomla version is this? and what editor are you using? does it happen as well with other editors.

Also, you said "when the problem started". When did this started exactly?

Rgds
 
Monday, 21 December 2015 17:54 UTC
françois
Hi,

And it gets weirder.  I'm on Joomla 3.4.6v1, french, language pack updated.  JCE editor, switched to Rokpad, same result.  JCE latest version reinstalled.

This only happens on my livesite, local is fine.  I do not use the livesite for editing every day, it seems to me that it started after the upgrade to the latest Joomla.

Regards,

François


Le 21/12/2015 18:23, Weeblr a écrit :

Monday, 21 December 2015 18:47 UTC
wb_weeblr
Hi

ok, so it sounds more like a server setup issue (assuming the live and local copies are identical in terms of plugins - system plugins specifically).

What are the local/love PHP version? if you use opcache on the live server, can you empty the opcache cache? (normally when sh404SEF is installed, it clears it, but maybe that failed somehow).

Another thing to look at may be the system plugins ordering. Are the same locally and live? the plugins involved are sh404SEF, shLIb and the system plugin for JCE or Rokpad.

Rgds
 
Monday, 21 December 2015 20:36 UTC
françois
Hi,

I cleared the opcache to no avail.

PHP verstions : local 5.5.9-1ubuntu4.14      live 5.4.44-0+deb7u1

As for the order, the localsite is much older because I changed to a new server a few months back and did a clean install for the livesite.  On both sites shLib is found before sh404sef system plugin, but with different plugins in between. 
In both sites the JCE plugin is just before the Rokpad plugin, and both before shLib, again with different plugins in between. 

I hope this is enough information, it seems complex. 

Regards,

François


Le 21/12/2015 19:47, Weeblr a écrit :

Tuesday, 22 December 2015 11:00 UTC
wb_weeblr
Hi

No, there's nothing that gives any clue on why this is happening on your server.

Is your local site on windows? this could hint at a capitalization issue (some folder names not having the correct case?) but that would not be consistent with the problem only appearing when editing articles.

Maybe we can get a bit more info like this:
Can you replace this line:
$link .= '<link rel="stylesheet" href="' . ShlHtml_Manager::getInstance()->getMediaLink('bs', 'css') . '" type="text/css" />';


with
$manager = ShlHtml_Manager::getInstance();
echo '<br />Manager = ' . print_r($manager, true) . '<br />;
$link .= '<link rel="stylesheet" href="' . ShlHtml_Manager::getInstance()->getMediaLink('bs', 'css') . '" type="text/css" />';


When run, and trying to edit an article, this should either dump a lot of code onto the screen or instead say something similar to "Manager = null".

Another track that can be followed is to disable one by one other system or content plugins. This might be an interference with another plugin loaded on the edit article page.

Rgds
 
Monday, 04 January 2016 12:36 UTC
wb_weeblr
Hi

Sorry, it seems your last 2 replies (by email) have not been added to the ticket by the cron job of our Akeeba ticket system. I just found them when checking directly our ticket reply email address in GMail.

You said:
Hi,



I am running my localsite on a 100% ubuntu machine.



When I replace the code it creates a white page for my livesite in the frontend, which I cannot allow with Christmas around the corner.



I will start this afternoon to disable the plugins one by one to see if I get a result.



Regards,



François
A white page means a PHP fatal error. Most likely there's a typo in the code. If you temporarily set Joomla "Error reporting" setting to "Maximum", you should be able to see the exact error message.

with Christmas around the corner.
I am confused: are you running this as a "localsite on a 100% ubuntu machine" or is this a livesite?

Rgds
 
Monday, 04 January 2016 13:30 UTC
françois
Hi,

To answer your question, I have the site running on a local machine, and the live site hosted by gandi.

The problem was resolved by the update that Weeblr made available during the holiday period.

I installed the latest joomla today, with no problem detected thus far, it seems the problem is now gone.

I thank you for your help and your fast reactions, it is appreciated.

Regards.

François

Le 04/01/2016 13:36, Weeblr a écrit :

Monday, 04 January 2016 14:58 UTC
wb_weeblr
Hi

OK, glad to hear that. Not sure what solved the problem though, as this was mostly a maintenance release to have separate Joomla 2 and Joomla 3 branches, but it may have to be more with a partial/failed install maybe.

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.