Page 1 of 1
Update overwrote stylesheets and templates (admin styles still lost) -SOLVED-
Posted: Thu Jan 17, 2008 9:02 pm
by Thomasl
Hello
Im in deep trouble here, and all help is more than appreciated.
My client had installed version 1.02 maui, and wanted the forum module there. I installed it, and in the middle it crashed - this error has been reported before on the forums too. I tried to uninstall - but the stylesheets are gone from the admin panel and the module page is not showing up at all.
- The modules folder contain no Forum folder. I tried to install it manually with ftp, no success. I cant undelete it as there is nothing to delete.
So, we get to chapter two.
I figured that perhaps an upgrade would solve the issue - so i upgraded cms to the newest version. No problem there, exept that the styles are still gone and the admin panel remains non-functioning.
Then the second problem kicked in. The last install had modified the stylesheets and html-templates, but kept them with the default name. And now i guess that the new install wrote over these files with the default ones, because all the styling that were done on the previous ones have dissappeared.
So finally. Now i not only have a broken admin panel, now I have a broken webpage too. Everything seems to go to hell and im getting desperate.
I have backup of the install folder on my harddrive, and the hotel provider makes database backups daily. But how should i go about solving both the problems with the missing admin styling and the lost page stylesheets/templates.
A huge rose to the one able to help me in my misery.
T
Re: Update overwrote stylesheets and templates (admin styles still lost)
Posted: Thu Jan 17, 2008 10:42 pm
by alby
Thomasl wrote:
My client had installed version 1.02 maui, and wanted the forum module there. I installed it, and in the middle it crashed - this error has been reported before on the forums too. I tried to uninstall - but the stylesheets are gone from the admin panel and the module page is not showing up at all.
Why this very old version?
Strange for Forum install, it's required 1.1 of CMSMS version
Thomasl wrote:
- The modules folder contain no Forum folder. I tried to install it manually with ftp, no success. I cant undelete it as there is nothing to delete.
I suppose an XML installation, right?
Thomasl wrote:
I figured that perhaps an upgrade would solve the issue - so i upgraded cms to the newest version. No problem there, exept that the styles are still gone and the admin panel remains non-functioning.
..............................
I have backup of the install folder on my harddrive, and the hotel provider makes database backups daily. But how should i go about solving both the problems with the missing admin styling and the lost page stylesheets/templates.
- Have you a whole site prev backup? Upload whole site, if not:
- Copy (FTP) whole site in your local computer (ALWAYS before of changes in production site)
- Download from forge a FULL 1.02 and upload to server
- Restore db backup one day before install
NOW you have the prev situation (check admin/style). One point could be if you have modify templates/phpfile of modules and you have update modules
If it's ok, test before in your local computer an update 1.02 -> 1.2.3 (it's long but many report ok), read
this for info
and install FEU module and Forum module
Alby
Re: Update overwrote stylesheets and templates (admin styles still lost)
Posted: Thu Jan 17, 2008 11:16 pm
by calguy1000
and check your httpd error log.
Re: Update overwrote stylesheets and templates (admin styles still lost)
Posted: Sat Jan 19, 2008 11:33 am
by Thomasl
Ok, thank you so much for the tips alby.
Unfortunately Im still in waist high shit. The hotel provider made a mistake about the backups. No DB backups are made, because my clients site was transferred out from their server to a dedicated server - and this means that they stop making backups too. This they forgot to inform me about.
I did not find any information about version requirements in the Forum module, perhaps it is there - but anyhow now its too late for that.
I have the whole site backed up on my comp, but now apparently there exists no old DB backups to fall back on. That was a bit shit as i counted on the hotel provider to have them.
So to the issue of the module first, because the main thing is to get the admin panel to work. The module install was with xml, and like i said - no forum module exists. We dont have the httpd logs here, but i asked the hotel provider about the problem path - and they said that the fatal error leads to modules/Forum which like i said doesnt exist.
Anyone have any tips on where i could start looking for the half-installed forum module to fix it? I am a bit lost on this one.
I will try to work on this, please post any suggestions you have on this one.
Huge thanks
Thomas
Re: Update overwrote stylesheets and templates (admin styles still lost)
Posted: Sat Jan 19, 2008 12:59 pm
by alby
Thomasl wrote:
Anyone have any tips on where i could start looking for the half-installed forum module to fix it? I am a bit lost on this one.
I will try to work on this, please post any suggestions you have on this one.
Uninstall module.
For manual Forum uninstall (if item not exist this item is ok):
FILES:
- delete modules/Forum
DB, use phpmyadmin:
- delete all
databaseprefix_modules_forum*
- delete in
databaseprefix_css row with:
css_name = "Forum_Made_Simple"
- delete in
databaseprefix_modules with:
module_name= "Forum"
- clear cache (Site Admin -> Global Settings)
Uninstall complete
Alby
Re: Update overwrote stylesheets and templates (admin styles still lost)
Posted: Sat Jan 19, 2008 9:20 pm
by Thomasl
Once again alby, thanks for the advice.
The problem was more simple and at the same more difficult than it seemed. My client has the strangest system, as some of their pages are on a dedicated server and some on the host providers server.
I was wondering why the host provider told me that the httpd log error was pointing to the modules/Forum path, as I already deleted the folder. And now, after fighting with this for 15+ hours, i know why. I managed to find in total three cms folder in different places. Don´t ask me how or why, but it seems that all three of them - of which two are on different servers - seems to be linked. And the forum folder needed to be deleted from all three locations.
So, i deleted and i deleted. And admin is back in all its glory.
One part is with other words solved.
Now i still face the problem that the upgrade of the cmsmadesimple took menumanager out of function. I'm guessing that this has something to do with the three different locations as well, as i only was updating in one of them. But at to this point i have no idea how to unlock this.
I will continue trying to get info on why the hell this system is built like this in the first place.
If anyone of you ever heard of similiar cases of multiple installs co-existing please report.
Thanks once more, life is curious now and then.