Try to fix a CMSMS website througt database
Try to fix a CMSMS website througt database
Hello,
I have been asked to try to publish a broken website made with CMSMS version 1.11.4 again. The website is made via Installatron.
It is not possible to log in via admin.
I have download the database and imported it in Xampp and saw that the prefix of the tables of the database are not all the same.
CMS_ is up to and including cms_permissions_seq the rest of the prefixes are different pzsu_
My question is shouldn't the prefix be the same?
And who can help me with this problem?
I will notice that I am very experienced with CMS Joomla.
Thank you in advance!
greetz Martha
www.kolham.nu
I have been asked to try to publish a broken website made with CMSMS version 1.11.4 again. The website is made via Installatron.
It is not possible to log in via admin.
I have download the database and imported it in Xampp and saw that the prefix of the tables of the database are not all the same.
CMS_ is up to and including cms_permissions_seq the rest of the prefixes are different pzsu_
My question is shouldn't the prefix be the same?
And who can help me with this problem?
I will notice that I am very experienced with CMS Joomla.
Thank you in advance!
greetz Martha
www.kolham.nu
Re: Try to fix a CMSMS website througt database
Since you have the DB for this site you should be able to change the admin password to get into the backend if that is what is stopping you from getting in there...
Yes all prefixes should be the same, I would try changing all the prefixes to cms_...
Yes all prefixes should be the same, I would try changing all the prefixes to cms_...
Re: Try to fix a CMSMS website througt database
Thank you dr CSS,
Yes that was what I wanted to do, to change the password and usersname. But I am not shore if I change the prefixes to one name, that this can give more problems. But I shall try it first in Xampp.
Yes that was what I wanted to do, to change the password and usersname. But I am not shore if I change the prefixes to one name, that this can give more problems. But I shall try it first in Xampp.
Re: Try to fix a CMSMS website througt database
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Try to fix a CMSMS website througt database
Thanks Rolf, I already found that solution.
First I have an other problem.
There are several same tables with both prefixes. (cms_ and pzsu_)
Can I delete this tables and leave the tables with cms_?
pzsu_events_sec
pzsu_groups_perm_seq
pzsu_module_news
pzsu_module_news_categories
pzsu_module_news_categories_seq
pzsu_module_news_fielddefs
pzsu_module_news_fieldvals
pzsu_module_news_seq
First I have an other problem.
There are several same tables with both prefixes. (cms_ and pzsu_)
Can I delete this tables and leave the tables with cms_?
pzsu_events_sec
pzsu_groups_perm_seq
pzsu_module_news
pzsu_module_news_categories
pzsu_module_news_categories_seq
pzsu_module_news_fielddefs
pzsu_module_news_fieldvals
pzsu_module_news_seq
Re: Try to fix a CMSMS website througt database
Whatever is defined for the database prefix in your config.php will be the one you're using (if nothing is defined, it will be cms), the others can most likely be removed. Back up first, of course.
Not getting the answer you need? CMSMS support options
Re: Try to fix a CMSMS website througt database
In config.php is _cms defined. But I checked the tables and the content of the same tables are not the same. Should I transport this tables to the tables with _cms?
Re: Try to fix a CMSMS website througt database
No idea. You'd have to consult with whoever did that as to why there's multiple table prefixes. I would guess they either had two installs sharing the same database, or they did some weird method of backing up each table before making changes.
Not getting the answer you need? CMSMS support options
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Try to fix a CMSMS website througt database
CMSMS allows co-existing with other applications in the same mysql database. That's what the prefix is for. You can also install multiple CMSMS installs using the same mysql database (but separate filesystem paths)
So. Generally speaking you need to know your system(s) before you go dropping or renaming tables.
Note: there have been problems in the past with some third party modules not using the prefix. But I don't know your system info OR which versions of which modules had the problem.
If you are absolutely certain that there is only one application using that database, AND that is CMSMS and you know that the prefix then you MAY want to either drop or rename the tables.
IF your verified system is using a prefix like 'cms_' and you have tables like 'foo_*' in the database who's suffixes don't ALSO exist in the cms_ prefix. then it MAY be an idea to rename these tables. But it would take careful analysis of the source code.
So. Generally speaking you need to know your system(s) before you go dropping or renaming tables.
Note: there have been problems in the past with some third party modules not using the prefix. But I don't know your system info OR which versions of which modules had the problem.
If you are absolutely certain that there is only one application using that database, AND that is CMSMS and you know that the prefix then you MAY want to either drop or rename the tables.
IF your verified system is using a prefix like 'cms_' and you have tables like 'foo_*' in the database who's suffixes don't ALSO exist in the cms_ prefix. then it MAY be an idea to rename these tables. But it would take careful analysis of the source code.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Try to fix a CMSMS website througt database
Thankyou callguy1000
That's why I test this problem in the Xampp database. I know how te work with database but not with CMSMS.
Maybe it's better to rebuild the website. Hopefully I find the texts from the website in the database.
That's why I test this problem in the Xampp database. I know how te work with database but not with CMSMS.
Maybe it's better to rebuild the website. Hopefully I find the texts from the website in the database.
Re: Try to fix a CMSMS website througt database
We can't contact the one who build the website, He does not respond to our messages.
Is there a change that I can get the content somewhere from the files or database of the website?
I am also unable to publish the website via xampp. I think the version is too old. If there is someone who can help to publish the website via xampp, please do response.
Is there a change that I can get the content somewhere from the files or database of the website?
I am also unable to publish the website via xampp. I think the version is too old. If there is someone who can help to publish the website via xampp, please do response.
Re: Try to fix a CMSMS website througt database
Are you unable to see the site at all..?
The content is stored in the database, have you tried https://archive.org/web/
I've used it before to reconstruct sites...
The content is stored in the database, have you tried https://archive.org/web/
I've used it before to reconstruct sites...