Page 1 of 1

[again under investigation] Can't re-install from a back-up

Posted: Thu Feb 07, 2008 8:24 pm
by Art-art
Hi,

I tried to upgrade from 1.2 to 1.2.1 (on my way to 1.2.3, I know a was a little behind in upgrading...).
Something went wrong and I decided to reinstall an old copy (CMSMS v1.2) I made after my last changes back in October 2007.

So I:
- I deleted all database files and reinstalled the old database.
- Further I deleted the files on the server and FTP-ed the back-up files from my computer to the server again.
- I checked the rights of the directories tmp, tmp/templates_c etc. as listed in the installation guide.

The result is a blank screen on both the front side and the admin side.
The code returned to the browser from front- and back end is limited to:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<__html><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
</__body><__body></__html>
Any clue what goes wrong?

Re: Can't re-install from a back-up

Posted: Fri Feb 08, 2008 7:43 am
by alby
Arthur wrote: Any clue what goes wrong?
Active debug in config and look in your server logs for errors

Alby

Re: Can't re-install from a back-up

Posted: Fri Feb 08, 2008 8:35 am
by Art-art
Hi Alby,

Thanks for helping me again! I'm sorry but I'm still a newbe to these kind of things.

In config.php I now changed:

Code: Select all

#CMSMS Debug Mode?  Turn is on to get a better error when you
#see {nocache} errors.
$config['debug'] = true;
Where do I get the response of the debug mode? Re-opening the homepage doen't help. It shows nothing.

Further on the server logs. Where do I find these in general?

Arthur

Re: Can't re-install from a back-up

Posted: Fri Feb 08, 2008 1:17 pm
by alby
Arthur wrote: Further on the server logs. Where do I find these in general?
Ask to your Hosting provider

Alby

Re: Can't re-install from a back-up

Posted: Fri Feb 08, 2008 7:26 pm
by Art-art
Hi Alby,
alby wrote: Ask to your Hosting provider
I just did, it might take some time. They are good..... but take their time as well.....

Re: Can't re-install from a back-up

Posted: Fri Feb 15, 2008 4:27 am
by Art-art
Hi Alby,

Reply form my provider: We don't release this kind of information..... :'(
I'm afraid I have to start from scratch. and import the templates and content manually.

Thanks any way for the support.

Arthur

Re: Can't re-install from a back-up

Posted: Fri Feb 15, 2008 3:52 pm
by Pierre M.
Hello Arthur,
Arthur wrote: Reply form my provider: We don't release this kind of information..... :'(
Shame on them, http logS are must have for webmasters (see CMSms' requirements). They can't be hosting providers if they don't provide logS. As you can't be their customer if you don't provide them money.

To your restore point now : I don't understand where you start from. What database backup do you have ? made with which CMSms version ? Had you used some non core modules ?
Which FTP tool are you using ?
What is the hosting context ? OS, PHP, versions...

Pierre M.

Re: Can't re-install from a back-up

Posted: Tue Feb 19, 2008 6:17 am
by Art-art
Hi Pierre,

This provider XS4ALL.nl is the recognized best internet provider in the Netherlands for years now. I was surprised!
Any way.
Pierre M. wrote: What database backup do you have ?
I copied the folders and files to my computer using Filezilla. The SQL database was backed up through the PhpMyAdmin interface using 'export' and the default settings as provided there.
Pierre M. wrote: made with which CMSms version ?
I was using CMSMS v1.2 at the time of the back-up.
Pierre M. wrote: Had you used some non core modules ?
The modules installed were (from the SQL backup):
CMSMailer, MenuManager, ModuleManager, News, nuSOAP, Search, ThemeManager, TinyMCE, FileManager, Printing, FrontEndUsers and CustomContent
Pierre M. wrote: Which FTP tool are you using ?
Filezilla 2.2.22
Pierre M. wrote: What is the hosting context ?
???
Pierre M. wrote: OS, PHP, versions...
PC OS: XP
Server OS: Server version: 5.0.32-Debian_7etch5-log, Protocol version: 10
MySQL charset: UTF-8 Unicode (utf8)
Database Collation: latin1_swedish_ci
phpMyAdmin - 2.10.0.2
MySQL client version: 4.1.20

Further I found the following:
In the SQL-rebuild file I noticed that double quotes: " were mixed up with 2x single quotes: ' '.
I found this out in a data string like can't connect that was written like can''t connect etc.
This was not the case with the SQL instructions themselves bu only in the data to be inserted.

I guess this helps us a lot. Probably not in rebuilding the old site (I already re-installed from scratch and inserted the data based on the SQL-backup file) but in making proper back-ups next time.

Do you have any tips?

Arthur

Re: [again under investigation] Can't re-install from a back-up

Posted: Tue Feb 19, 2008 12:52 pm
by Pierre M.
So you have a database backup, made with CMSms v1.2.
Have you tried to restore this backup and to reinstall CMSms v1.2 on it ? Without checking the "create database objects" checkbox at the end to prevent the install wizzard to erase the restored backup ?
BTW, use same database table prefix.
If this doesn't work, please report so with precise steps done, warnings and errors messages.

If it works, you need then to upgrade to latest official stable version and to make a new backup.

Your " vs '' issue is strange. But if you can restore it shouldn't be an issue.

Pierre M.

Re: [again under investigation] Can't re-install from a back-up

Posted: Tue Feb 19, 2008 2:54 pm
by Art-art
Pierre M. wrote: So you have a database backup, made with CMSms v1.2.
Have you tried to restore this backup and to reinstall CMSms v1.2 on it ?
You mean to re-install a clean version and then re-enter the old data? Keeping the 'lay-out' database as created by the clean install?
... Not yet.

I'll come back to you

Arthur