Support

Site Restoration

#23316 Partial restore - now

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by user13430 on Tuesday, 29 September 2015 04:21 CDT

user13430
 Greetings
I have restored a site, using akeeba backup & kickstart.php, from one server (UK2.net to another server vps.net)
no upgrades ie joomla same version old and new, I used the akeeba ABT06 https://www.akeebabackup.com/videos/1204-video-tutorials/akeeba-backup-course-with-brian-teeman/1508-abt06-restoring-to-new-server-using-kickstart.html to do this.

completely new install/restore to new server, not restoring on top of an old site.

Site restored ok, no errors reported/displayed) and frontpage works, I can login on the frontend.
Backend admin - I can login and manage the backend

Problem I have is that a number of the menu component links result in a blank page
Jomsocial,(community) Jomevents (Events) pages all work correctly
Article links also work - http://www.wightcommunity.com/isle-of-wight-community-shopping-social-network/info-for-retailers
BUT
DJclassifieds,(Classified ads) SOBIPro Business directory) and jmarket (Shopping) all result in a blank page.
Debug system = yes
Error reporting = development
debug is visible on working pages but not on any blank/white pages

Old site url - http://www.isleofwight.community/
New site url - http://www.wightcommunity.com/
I have updated 'live url' in configuration.php' I did this during the akeeba restore process.
new domain used as I want to test site before pointing the old url to the new site.

Any pointers in helping resolve this issue are most appreciated

Thanks
Iain

tampe125
Akeeba Staff
Hello Iain,

A white page or a page with a 500 Internal Server Error is, in fact, either a .htaccess issue to a PHP fatal error in disguise.

First, let's see if it is a .htaccess issue. Try renaming the .htaccess file in your site's root to htaccess.bak If there is a .htaccess file in the site's administrator directory, try renaming it as well. If that solves the problem, the issue was with a directive in your .htaccess file. We'd like to recommend you to try removing directives from your .htaccess until you find the one which causes the problem.

If that doesn't help, the error you are receiving is in fact a PHP error in disguise. First, check your server's error logs (not the access logs) immediately after visiting the page which throws the error. There should be an exact description of the PHP fatal error which occurred. Sometimes you can find the error messages in files called error_log or error.log inside the site's root and/or administrator directories. If unsure about the error log location, please consult your host. Most likely the error logs are available in your site's cPanel, Plesk control panel or similar hosting account management facility.

If your host does not give you access to the error logs and you have access to the Joomla! administrator area, please log in to your site's back-end, go to Global Configuration, click on the Server tab and set the Error Reporting to Maximum (Joomla! 1.5) or Development (Joomla! 2.x and later). Try visiting the problem page again.

If you still get a blank page, edit your configuration.php file and put the following code right after the final closing curly brace ( this is what a curly brace looks like --> } ) but before the closing PHP tag (it looks like ?> that is a question mark and a greater-than sign):
ini_set( 'display_errors', true );
error_reporting( E_ALL ); 
Try visiting the problem page again.

If you still get a white page, please remote the two lines from your configuration.php file. Edit the .htaccess file in your site's root. If you don't have a file named .htaccess create a new one. Beware that htaccess.txt is a DIFFERENT FILE and will NOT work! Add the following to the end of the file:
php_flag display_errors On
php_value error_reporting 32767
and retry loading the problem page.

If you still get a white page, remove the two lines from your .htaccess file. Now, create a file called php.ini with the following content:
display_errors=on
error_reporting=E_ALL
and upload it into your site's root and your site's administrator directory. Retry loading the problem page.

IMPORTANT: Sometimes the error won't show. Edit your configuration.php and find the line starting with public $error_reporting and set it to:
public $error_reporting = 'development';

This instructs Joomla! to enable maximum error, warnings and notices verbosity. In 99.9% of cases it will result in the error messages being shown on the browser.

If you still get a white page, delete the php.ini files your created and choose a different host. If your host doesn't allow you to debug any PHP-related issues there is no point paying them.

Please note that if you can not understand what the PHP error message means, just copy and paste it here verbatim so that we can take a look and point you to the right direction.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user13430
Wow, thank you for prompt and explanatory reply,
Looking in to this I see that on the old site
database type is 'My SQLi'
New site is MYSQL
MYSQLi is not available in the options, Only other option is (MYSQL PDO)
Could this be a contributor?
If so I shall contact new server support to enquire why/if MYSQLi is available.

If not a contributor then I shall follow your info
Got to go do some work now but will take a look as soon as I return

Sorry - update - djclassifieds displays this error
Fatal error: Call to undefined function mb_substr() in /home/n0rf0lkandway/public_html/components/com_djclassifieds/views/items/tmpl/default.php on line 292
May help may not, thought it worth posting though, this page is not blank/whit, it is as if no template is avalable.

tampe125
Akeeba Staff
Regarding the database, that's not the real issue: Joomla supports several ways to connect to your database, MySQL PDO is one of them and it's the newest technique, so don't worry about that.

What we need to take care of is the fatal error: that's what is stopping the execution of your site.
The component com_djclassifieds is using a function from a module that is not installed on your server; you have to contact your host and ask him to install/enable the Multibyte string module.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user13430
Hi Davide
Ok, enabled 'Multibyte string module' and djclassifieds works again, Thank you
Had to do it myself though, not done by host support.
The only component not functioning now is sobipro

NB - The components are currently working with joomla sef url disabled due to the fact that since moving servers enabling joomla core sef url's causes other errors
Use URL Rewriting' is enabled.
I thought it best to disable whislt identifying the main issues first
regards
Iain

user13430
Looking at XSLT support
Now
System check shows - XSL extension not available
Will contact host and post response
Mainly posting these updates in case they are of use to others.
Sobi support - "If your server does not meet the requirements (e.g. no XSLT support) then all SobiPro pages will be rendered blank."

tampe125
Akeeba Staff
ok, thank you very much for your updates, I'll leave this ticket open so you can add more info for other users.
Feel free to close it when you're done!

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user13430
So...
Having changed servers the fixes so far are -
On new server -
WHM > Software > Easy apache (Apache Update) > select current profile, click on the cog (Under 'actions') to edit settings > next > next > slect 'Exhaustive options list'
These are the modules that I found needed to be additionaly checked (many are already checked as default)
Mod_deflate - This is the current module replacing gzip so is needed to be ticked to enable gzip
Mbstring - This is needed for djclassifieds
SOAP - required for SobiPro
XSl - required for SobiPro
Click save and build

That got sobipro and djclassifieds links working again

Now only things not working are -
Joomla sef url's
djclassifieds, jomsocial and jomevents links work with joomla sef urls enabled
but jmarket and sobipro links do not work with joomla sef url's enabled.

Will Update for sef url's when fix found

user13430
Fixed
Sef url issue fixed simply by rebuilding menu links
Deleted old menu links
added new menu links
All menu links now work with Joomla core sef enabled.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!