[solved] 2 Default Pages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Elenari
New Member
New Member
Posts: 4
Joined: Fri Jul 30, 2010 6:17 pm

[solved] 2 Default Pages

Post by Elenari »

Hello!

I'm running CMSMS version 1.8. I have a problem with the default page option. I've always had the same default page until recently. I changed it under Content -> Pages -> clicked the "X" under "Default" beside the page I want as default. So far so good, everything worked as I'd wanted, the new default page was working. I logged out of my CMS and wanted to check out my page again a couple hours later. It was the old (previous) default page.

So I went back into my CMSMS admin panel and checked under Content -> Pages again... I have 2 default pages! The old one that was previously unchecked when I chose my new one, as well as the new one I just chose as my default. Now every time I try to choose a new default page (just to test it out), it always keeps the previous default page while choosing the newly checked default page as default as well. So I always have 2 and of course I can't delete my default page, so the "delete" option is not available for either of them.

I can't say if it's always been this way or if this is a new error, as I mentioned before, this is the first time I've had to change my default page.

I hope I've given you all the information needed. I couldn't find anyone with the same problem via Google or searching the CMSMS forum, though I may have just used the wrong wording while searching. I also used the "How to submit a question" thread, so I hope someone can help me :)

Thanks for your time and I look forward to your suggestions!
Last edited by Elenari on Mon Aug 02, 2010 2:45 pm, edited 1 time in total.
replytomk3

Re: 2 Default Pages

Post by replytomk3 »

Weird. Checksum verification is your first step.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: 2 Default Pages

Post by Rolf »

Hello Elenari,
welcome to the cmsms forum!

Indeed strange what you are describing. I tried to reproduce this quickly on my site (1.8.1 thought), but it it working just fine...
Perhaps try to upgrade to 1.8.1 first.

Althought you've given enough info what steps you took, can you give us some more technical info?
A copy of your system information.
Are there any errors in the php error log.
Tried to debug on in the config.php. Are there any errors shown?
Do you have a link to your site (if needed PM).

Grtz. Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Elenari
New Member
New Member
Posts: 4
Joined: Fri Jul 30, 2010 6:17 pm

Re: 2 Default Pages

Post by Elenari »

Oh dear, the checksum doesn't look good! I've upgraded my CMS to 1.8.1. After that: Site Admin -> System verification -> cmsmadesimple-1.8.1-base-checksum.dat

The following appeared (it exceeds the max allowed length, so I've uploaded it to my site for you to read):

http://elenaris-cookies.eu/checksum.txt


Thank you Rolf! :)

As mentioned before, I've now upgraded to 1.8.1 - I still had 2 default pages after logging in and also after changing the default page.

My system information:

PHP Version 5.2.12
Apache/2.2.3 (CentOS)
MySQL client version 5.0.77


My debug errors look great as well... uploaded here:

http://elenaris-cookies.eu/debug.txt

As you may have noticed, http://elenaris-cookies.eu/ is my site :D


And last but not least, at the risk of sounding noobish, I can't find the error.log (or anything similar) in my cms files in my FTP. I read that I may have to ask my host provider for access to server logs, if that's the problem, then I'll do so on Monday and get back to you on the error log.

Hidden files are shown in my FTP (FileZilla -> "Force showing hidden files" is checked)
replytomk3

Re: 2 Default Pages

Post by replytomk3 »

Best way to extract files is thru SSH if you have it http://mkrd.info/software-discussions/cms-made-simple/extracting-cmsms-file-on-server.html.

Also, make sure you use the correct checksum file.

After creating a backup per my website instructions, overwrite files with installation files thru SSH and run checksum again.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: 2 Default Pages

Post by Rolf »

replytomk3 wrote: Best way to extract files is thru SSH if you have it
And if you don't... :)
Use FileZilla, which you have ;) and don't use a Wifi connection, just a plain old cable will do.

But an old PC and/or a slow, not stable internet connection doesn't help either...  :-\

grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Elenari
New Member
New Member
Posts: 4
Joined: Fri Jul 30, 2010 6:17 pm

Re: 2 Default Pages

Post by Elenari »

Aaaalright...

I downloaded and uploaded the base CMS install files (I always use base). When choosing cmsmadesimple-1.8.1-base-checksum.dat from the CMS download site, I still get the same errors after the system verification. When choosing cmsmadesimple-1.8.1-checksums.dat from the website it's perfectly fine:

All checksums match those in the uploaded file
Peciura

Re: 2 Default Pages

Post by Peciura »

Elenari: why don't you fix page properties directly in DB ? Open table `cms_content` find page that should not be default and set column`default_content` to zero.
Elenari
New Member
New Member
Posts: 4
Joined: Fri Jul 30, 2010 6:17 pm

Re: 2 Default Pages

Post by Elenari »

Thank you very much!

Not only did that work, the "bug" is also fixed :) I change the default page in the CMS now and it changes correctly (only 1 default, the previous no longer has the default tag).

Thank you all :D
Post Reply

Return to “CMSMS Core”