Support

Akeeba Backup for Joomla!

#9053 Register globals and Display errors Black htaccess file?

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Thursday, 15 September 2011 15:54 CDT

nicktod
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting (basic issues)? Yes
Joomla! version: (Joomla! 1.5.8 Production/Stable)
PHP version: (5.2.9)
MySQL version: (4.1.22-Max-log)
Host: (HostGator Unix Hosting MySQL:5.1.56
PHP:5.2.17)
Akeeba Backup version: (Akeeba Backup 3.0 (2010-06-11))

EXTREMELY IMPORTANT: Please attach your Akeeba Backup log file in order for us to help you with any backup or restoration issue.

Description of my issue: Cannot connect to the database when restoring. Have two "errors" during the "check" (display Errors and Register Globals) are not using the recommended settings. I check to see if I could change anything in the .htaccess file and can even find the php.ini in my restore directory. I am transferring the site from one host to another. The new host has later versions of PHP and mySQL (i think). Not sure if this is an issue, but am at a loss. I have attached my debug log.

P.S. talked to the host admin to determine if my database was functioning correctly and it is.

Thanks for your help and your great product.

Nick


nicktod
Correction on previous post BLANK .htaccess file. Sorry

nicktod
Yet another correction.. did not ZIP the file

WARNING: Do not copy and paste lines from this file!
You are supposed to ZIP and attach it in your support forum post.
If you fail to do so, your support request will receive minimal priority.

nicholas
Akeeba Staff
Manager
The two "errors" you get are not errors, they are suggestions. Moreover, they have nothing to do with the database connection. Please take a look at the relevant troubleshooter page. I would recommend first upgrading to the latest version of Akeeba Backup (3.3.4), taking a new backup and restoring it on the host. There have been a ton of improvements in the restoration script between 3.0 and 3.3.4.

As always, you might want to take a look at our Quick Start Guide for detailed information regarding the restoration procedure and useful pointers about what you have to do when you can not connect to your database. Furthermore, the relevant troubleshooter page should come in very handy trying to resolve this issue.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicktod
Thanks for the quick response. I actually did upgrade, and the new version got stuck on the last step of finalilzing the backup. I figured it was because I was using an earlier version of joomla. So I was never able to get a complete backup. Believe me, I wanted it to be that simple. Good news is I had a snapshot from the previous day to restore back to a functioning site.

Well I can chalk this issue up to the new "highly rated" hosting service, except for the backup failure with the upgrade.

Will attached the log file showing the backup attempts with the latest version.

I just need to do the backups manually and not rely on all these layers of complexity.

Thanks again... Nick

nicktod
here are the log files..

nicholas
Akeeba Staff
Manager
Hi Nick,

I can tell right away what is the problem. You are using Joomla! 1.5.8. As I have written in the documentation, you MUST have Joomla! 1.5.10 for Akeeba Backup to install properly. Older versions, up to and including 1.5.9, do not create Akeeba Backup's tables correctly and cause the error you witnessed.

HOWEVER! Your backup is complete. The only part which did not work is updating the database table where Akeeba Backup stores a detailed record of all backup attempts. You can find your full site backup at administrator/components/com_akeeba/backup and, yes, you can use it to fully restore your site.

The next step you must do is upgrade Joomla! to 1.5.23. Between 1.5.8 and 1.5.23 there have been over two years of development and more than a hundred bug fixes (among which, over a dozen SECURITY bug fixes). This means that your site is like having a neon sign reading "please hack me" over it. Upgrade in order not to get hacked. If the update fails, you can restore your site with the backup archive you have now. After you upgrade Joomla!, you can simply re-install Akeeba Backup and enjoy easy backups of your site.

As I have written many times, Akeeba Backup doesn't make full site backups possible, it makes them easier. You can always copy all your site files by FTP and take a dump of your database using phpMyAdmin (unless the database is very big, in which case you have to take a phpMyAdmin database dump of each one table at a time). Restoring this backup involves re-uploading those files, except the cache files and restoring the database dump. Of course, if it's a big database dump, phpMyAdmin will fail and you will have to edit the dump file, split it to several smaller files and restore one of them at a time. At the end of the process you will have to empty your session table and edit your configuration.php file manually. Time to backup: 1-4 hours, depending on site size. Time to restore: 2-10 hours, depending on the site size. And you have to spend that time every time you need to backup your site. Skill level required: medium high.

With Akeeba Backup you just install it and click on the Backup Now button. If it doesn't work, you'll spend a couple of hours with our support forum and fine-tuning the settings. From that point onwards, it's just 30 seconds up to an hour of doing nothing at all. Creating a CRON job takes 10 minutes to an hour (depending on skill level) and automates the backup taking process. So, potentially, you have to spend 0 time backing up your site. Restoring is also trivial using Kickstart and takes around 5-15 minutes. Skill level required: novice to medium.

So, it's your choice. If you want to spend hours upon hours doing manual backups, yes, it's an option. It does work, but it requires a lot of time and is an involving process. Because of that, you'll end up not having regular backups. And this sounds fine, until the day you'd wish you had twice daily backups. How do you think I ended up writing backup software for Joomla!? ;)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!