Page 1 of 1

[Solved] Strange code on 1.5.1 & lack of upload/image folder access

Posted: Fri Dec 05, 2008 5:02 pm
by wournos
I tried to install version 1.5.1 a few hours ago and got the same error message as someone else, about the Tokenizer being disabled. My PHP is set to 4 but I didn't want to change it to 5 until I had some information about it all, and my host (one.com) doesn't offer this.

So... I tried to reset my settings by replacing my contents with the files I saved prior to the upgrade. This didn't work, so I tried to reinstall version 1.4.1, which I thought was the version I used to have. This completely messed up my site. I could see the main design but the main links as well as news section was all gone along with a menu I had specially made.
I also tried to login but the entire page is filled with the following:
���������������������������������������������������������������������������������������Mac OS X ���� ���2���������������������������������������������ATTR;�������������*����������������������*��com.apple.quarantine�0000;49394138;Firefox;|org.mozilla.firefox���������������������������������������������This resource fork intentionally left blank �����������������������������������������������������������������������������������������Mac OS X ���� ���2���������������������������������������������ATTR;�������������*����������������������*��
I tried to reinstall 1.3.1, which is the version I used to have, but it doesn't work either. I followed the steps of the Documentation yet nothing works.

I used FTP because I have no idea what "shell upgrade" is. I have done one upgrade before. It was 6 months ago and it went just fine. What on earth is going on?

Is it possible to reinstall older versions of cmsmadesimple even if I have a newer version? Or do I have to whipe clean my database and start from a "clean slate" so to speak?

Re: Reinstall old versions

Posted: Sat Dec 06, 2008 10:04 am
by wournos
I have now installed 1.5.1 as well as updated my hosts php settings (php5). My main issue right now is that I apparently have no authorization to use my upload/images folder. All my images are broken and I get a notification in the admin area saying that I have to check the CMSMailer because it might prevent uploads of images if it's incorrect. Thing is, I don't use CMSMailer. It's just activated. Don't know if that's default or not.

Also, my entire admin area is still covered by the above quoted crap.

Any ideas what to do next? Is there any way to get around this CMSMailer module? It's never been up-to-date before simply because I have never used it, and never will.

Re: Strange code on 1.5.1 & lack of upload/image folder access

Posted: Sat Dec 06, 2008 10:36 am
by Dee
If you're not using CMSMailer you can uninstall it (from the admin or simply rename/remove the module folder).
No idea what's causing those strange characters. This happens only in the admin? Any messages in your server's error log?

Regards,
D

Re: Strange code on 1.5.1 & lack of upload/image folder access

Posted: Sun Dec 07, 2008 10:31 am
by wournos
The image folder had the wrong CHMOD. That has been fixed.

The strange code appears on the main login page as well as inside the entire admin area. I'm the only one using the cms so there is no other groups involved. I can still navigate through the cms but I can't edit/add any pages because the text field has been replaced by the same code; only shorter.

I have also noticed that the Extensions -> Tags page is all white.

Another thing that I don't understand is that the date on the news pieces on my main page have completely vanished. I only use the Detail Template with the following, simple code.

Code: Select all

<h2 class="text2">{$entry->formatpostdate}</h2>
<p>{eval var=$entry->content}</p>
I tried to use the default code but nothing changed.
I am not at all familiar with the tags and went to look for information, but can't get into the Tags page. Missing date is a minor detail, but with the malfuction going on I can't do that much to try and fix it.

I have contacted my host about the error log, but haven't recieved a reply yet.

Thanks for the help so far.

Re: Strange code on 1.5.1 & lack of upload/image folder access

Posted: Sun Dec 07, 2008 3:00 pm
by alby
wournos wrote: I have also noticed that the Extensions -> Tags page is all white.
after error logs from your provider,
- check with system verification your installation
- active debug in config.php and look in html source for errors

wournos wrote: Another thing that I don't understand is that the date on the news pieces on my main page have completely vanished. I only use the Detail Template with the following, simple code.

Code: Select all

<h2 class="text2">{$entry->formatpostdate}</h2>
<p>{eval var=$entry->content}</p>
Read News help ....

Alby

Re: Strange code on 1.5.1 & lack of upload/image folder access

Posted: Mon Dec 08, 2008 5:19 pm
by wournos
The errors I get are the following:

Login page and inside CMS: "Warning: Cannot modify header information - headers already sent by (output started at /customers/spaceoddity.co.uk/spaceoddity.co.uk/httpd.www/admin/lang/._da_DK.nls.php:1) in /customers/spaceoddity.co.uk/spaceoddity.co.uk/httpd.www/admin/lang.php on line 110"

Inside the cms: "Warning: Cannot modify header information - headers already sent by (output started at /customers/spaceoddity.co.uk/spaceoddity.co.uk/httpd.www/admin/lang/._da_DK.nls.php:1) in /customers/spaceoddity.co.uk/spaceoddity.co.uk/httpd.www/lib/classes/class.admintheme.inc.php on line 166"
(Repeated 6 times on different lines.)

Editing pages: "Fatal error: Class '._sectionheader' not found in /customers/spaceoddity.co.uk/spaceoddity.co.uk/httpd.www/admin/editcontent.php on line 442"

My host claims that my "Mac sabotages the website" and that it creates "backup files like ._filename-files". They suggest that I "turn it off". Wish I knew where to do that.

I changed the config.php file to show Debug messages and all I can tell from those is that it finds break tags without the "/" in them and calls them errors.
I also used the Download Checksum feature but it's all greek to me. I tried to follow the System Varification FAQ, but I can't seem to download the files. Instead the contents show in the window.
Checking the installation log, everything is ok except the Maximum Execution Time which is set to 30 instead of the recommended 60.

I have read News Help three times. It doesn't help me at all. But my main concern is currently getting rid of the errors and also get back the default cms template that just quit working once in a while.

Thanks for the pointers so far.

Re: Strange code on 1.5.1 & lack of upload/image folder access

Posted: Mon Dec 08, 2008 8:43 pm
by alby
wournos wrote: The errors I get are the following:
I think that your site is hacked...
and with upgrade results this errors

Alby

Re: Strange code on 1.5.1 & lack of upload/image folder access

Posted: Tue Dec 09, 2008 5:10 am
by wournos
But then that must've happened right when I upgraded my cms because I have never had this problem before.
If it is, what do I do now?

Re: Strange code on 1.5.1 & lack of upload/image folder access

Posted: Tue Dec 09, 2008 5:22 am
by Nullig
Just delete all those "backup files".

Nullig

Re: [Solved] Strange code on 1.5.1 & lack of upload/image folder access

Posted: Thu Dec 11, 2008 1:30 pm
by wournos
I found the files. CyberDuck hides them by default. I wasn't aware that it hides things.
Now I just need to locate the source of the double files.

/W