"Add me" in front of everything.

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
Anonymous

"Add me" in front of everything.

Post by Anonymous »

I just got done installing. Everything seems to be working ok except when I log into admin section it puts "--Add me" in front of everything (buttons, links, etc.) What is going on?

Randy
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

"Add me" in front of everything.

Post by Ted »

Strange. This means that you either don't have any language selected (which should really be possible), or the languages aren't there. What happens if you go to User Preferences? Is there a list of languages? What happens if you change it?
randyriegel

"Add me" in front of everything.

Post by randyriegel »

I found something very interesting. I use Firefox 1.0 as my browser and this is the browser I see the "Add me" words in. If I view the site in IE it looks fine. Here is a pic of both my browsers and what it looks like. Is there any fix for this? or is it a known bug?


Image
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

"Add me" in front of everything.

Post by Ted »

I did the same thing in IE 6 on Win2K3 and it comes up fine for me. I can change languages and it changes the text as it's supposed to. I think she is on to something about a possibility of spyware or other nasty creatures lurking on your box.
randyriegel

"Add me" in front of everything.

Post by randyriegel »

Ran ad-aware, spybot, and SBC Yahoo! Antispy software. Removed everthing they found and prob still exists.

I did find the "Add Me" in php code, it's in the file:

./lib/translation.functions.php

Looks like it does have something to do with Language setting.

I can go to cmsmadesimple.org/admin just to view the admin screen and it comes up fine in firefox for me, but mine still does not. I might uninstall and reinstall since I don't really have it set up yet.

Randy
the9thspirit

"Add me" in front of everything.

Post by the9thspirit »

Hello,
Im not very familiar with this CMS but if line 44 of the named file

Code: Select all

                return "--Add Me - $name --"; 
is changed to:

Code: Select all

                return $name;
everything seems ok with output

Furthermore there seems to be a annoying bug in this "language-configuration-tool"

for exampel: if in login-screen german is coosen as language, the language in the admin-section is still default , only a "by hand" change in admin do it. but only till next login, then the default is back.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

"Add me" in front of everything.

Post by Ted »

The add me is there so that I remember to add that language string to the system. If the string is added to the system (even if it's only in English), then the add me will go away.

If you're getting that everywhere, then it sounds like there is a path problem or something in your config.php.

Also, the language setting on the login page is only around for the life of that login. If the cookie for the login goes away, the language gets set back to English.

To make your language selection permenent, go into the User Preferences page and set the language there. It will then use that language everytiime you login with that user.

Hope that helps...
Anonymous

"Add me" in front of everything.

Post by Anonymous »

okay, i apologize.

right this moment i see that in the site itself above the menu theres 5 times an errormessage:
Template Error: setRoot: . is not a directory.
the tricky thing is, that i wanted to install cmsms on a vitualhost, so i cant' "get in there" an check what paths are right. Looking at them seems normal to me, nothing false, nothing lost, okay, till now i havent seen a "original" config.php

But its too late for me tonight, in my timezone it is 00:40 in the morning.

thanks for your help
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

"Add me" in front of everything.

Post by Ted »

I think some versions of php don't do dirname() the same way. config.php is created when you install cmsms, and is in the document root of the cmsms install. Take a look at it, and make sure that root_path is set correctly, and is not some kind of . as a directory name.

In the meantime, I'm going to take a look at the code that generates config.php and make sure it's doing it the best way.
the9thpirit

"Add me" in front of everything.

Post by the9thpirit »

okay, the error-message where is said that . ist not a directory was cause i did not copy the cms-madsimple-directory to the server, but that was in it.

the thing with the lost language iss still there..
im confused...
The9thspirit

"Add me" in front of everything.

Post by The9thspirit »

I've changed my mind, and at the moment im changing the admin-templates to hardcode in my preffered language ( i'll be the only that is using this copy of CMSMS so what, )

Its the only thing that is buggy and in use by me now, (TinyMCE having some bugs caused by lost language too, but that is no problem)

Thank you for the cms, it does its job, with some push-on on a virtual-host too.
toju

Re: "Add me" in front of everything.

Post by toju »

I did the work around and it kind of works and everything looks ok in ie, but mosxilla looks like crap and the admin names are not correct ........ i think i installed it wrong cause the demo works fine wih mozilla... but my install and mozilla are having pain....
Carl

Re: "Add me" in front of everything.

Post by Carl »

The CHMOD for the folder langin the /admin folder may have be wrong.
I had the same problem and changed my CHMOD from 764 to 755 to fix it.c
Locked

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