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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

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

Post 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?
Last edited by wournos on Thu Dec 11, 2008 1:26 pm, edited 1 time in total.
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

Re: Reinstall old versions

Post 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.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

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

Post 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
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

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

Post 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.
alby

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

Post 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
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

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

Post 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.
alby

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

Post 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
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

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

Post 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?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

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

Post by Nullig »

Just delete all those "backup files".

Nullig
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

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

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”