Page 1 of 1

[solved] Admin panel --Add Me problem

Posted: Sat Apr 28, 2007 5:32 pm
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 --)

Re: Admin panel --Add Me problem

Posted: Sat Apr 28, 2007 7:08 pm
by Nullig
Looks like your paths are wrong in the config.php file.

Nullig

Re: Admin panel --Add Me problem

Posted: Sat Apr 28, 2007 9:35 pm
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):

Re: Admin panel --Add Me problem

Posted: Sun Apr 29, 2007 12:33 am
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

Re: Admin panel --Add Me problem

Posted: Mon Apr 30, 2007 9:51 am
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.