[solved] Admin panel --Add Me problem

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
enigma

[solved] Admin panel --Add Me problem

Post by enigma »

Just installed CMS made simple for the first time, running W2k3, IIS6, PHP5, mysql.

Setup went fine, no problems detected.

Loaded the admin control and everything has --Add Me in front of the text, any ideas how to fix it?

I also have these errors:

On the admin homepage: --Add Me - installdirwarning --

and every other page i visit i get this:

Warning: AdminTheme::include(C:\location to files \lib\classes/../../admin/lang/en_US/admin.inc.php) [function.AdminTheme-include]: failed to open stream: No such file or directory in C:\location to files \\lib\classes\class.admintheme.inc.php on line 1499

Warning: AdminTheme::include() [function.include]: Failed opening 'C:\location to files \lib\classes/../../admin/lang/en_US/admin.inc.php' for inclusion (include_path='.;C:\php5\pear') in C:\ location to files \lib\classes\class.admintheme.inc.php on line 1499

Notice: Undefined variable: lang in C:\location to files \lib\classes\class.admintheme.inc.php on line 1532

Notice: Undefined variable: lang in C:\location to files \lib\classes\class.admintheme.inc.php on line 1532
--Add Me - currentpages ----Add Me - help -- --Add Me - help -- (--Add Me - new_window --)
Last edited by enigma on Sat May 05, 2007 1:13 am, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Admin panel --Add Me problem

Post by Nullig »

Looks like your paths are wrong in the config.php file.

Nullig
enigma

Re: Admin panel --Add Me problem

Post by enigma »

I thought that at first but i guarantee they are correct.

I do have a strange structure, the CMS is not run from the domain cause i only want to use it within a separate folder. http://www.mydomain.com/directory/

Can it work like that?

I've turned debugging on and i got some unusual database errors. I've only listed some of them but i can post them all if an admin wants to debug.

Debug: (0.184114)


(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):

Debug: (0.354919)


(mysql): SELECT * FROM cms_modules ORDER BY module_name
Error (0):
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Admin panel --Add Me problem

Post by Nullig »

Usually, the "--Add Me " messages occur when the language file cannot be found for a particular module, which in your case looks like it's the admin interface.

Check to make sure all of the files/directories under the admin directory are complete.

It's fine to use CMSMS in a subdirectory, as long as the paths and website settings reflect this structure. I've run a few that way.

Nullig
enigma

Re: Admin panel --Add Me problem

Post by enigma »

Thanks for the help it was the lang file for admin interface.

For some reason it was not extracted from the compressed file.
Locked

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