Support

Site Restoration

#26868 Error after restoration seemed to work perfectly

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 on Friday, 10 February 2017 17:17 CST

Marjoline
 Hello,

I am just trying to restore a new site from a development URL
http://www.art-alight.marjoline.com (site working fine, backed up from here)
to a to-be live URL
http://www.art-alight.com (site giving error message after restoration)

Everything went fine, following your restoration video, for which I thank you very much.
However, after completion the site would not open, giving the underlying error message, which I cannot understand.
Can you help? I am baffled.
Kind regards,
Marjoline

ERROR MESSAGE AFTER OPENING: http://art-alight.com/index.php

Error displaying the error page: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-a_template_styles as s LEFT JOIN #__extensions as e ON e.type='template' AND e' at line 2 SQL=SELECT template, s.params FROM #__template_styles as s LEFT JOIN #__extensions as e ON e.type='template' AND e.element=s.template AND e.client_id=s.client_id WHERE s.client_id = 1 AND home = '1' ORDER BY home: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-a_usergroups AS a LEFT JOIN #__usergroups AS b ON b.lft <= a.lft AND b.rgt >= ' at line 2 SQL=SELECT b.id FROM #__usergroups AS a LEFT JOIN #__usergroups AS b ON b.lft <= a.lft AND b.rgt >= a.rgt WHERE a.id = 9

tampe125
Akeeba Staff
Hello,

what's your table prefix? Does it contain the single dash - char?

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!

Marjoline
Yes, the prefix is a-a

tampe125
Akeeba Staff
That's your problem.
Most likely the extension developer is not quoting the table name, causing to break it when special chars (as the single dash) is used.
The best thing to do is to change your table prefix to something made of only letters and digits.

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!

Marjoline
Ok, thanks Davide,
I'll give it a try with a name without dashes.
Thanks,
Cheers,
Marjoline

tampe125
Akeeba Staff
You're welcome!

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!