Page 1 of 1

How to make my Admin Panel to look like it did?

Posted: Wed Nov 07, 2007 12:19 am
by javierdl
This happened after I attempted to install PHPIDS :(
The installation was not successfull, instead it gave me an error (which I sent to the developer already):
And this is how my Admin Panel looks like now (right image).
Thanks in advance,

JDL

Image

Re: How to make my Admin Panel to look like it did?

Posted: Wed Nov 07, 2007 6:02 am
by Dr.CSS
Have you removed it?... PHPIDS...

Re: How to make my Admin Panel to look like it did?

Posted: Wed Nov 07, 2007 6:40 pm
by javierdl
Well, I thought of that, but I can't find it. At least it's not showing in my new Admin Panel layout. Is there somewhere in particular I'm to go to confirm that?

JDL

Re: How to make my Admin Panel to look like it did?

Posted: Wed Nov 07, 2007 7:12 pm
by SpongeBoppie
Hi javier,

I've had the same problem when I installed the FeedbackForm. It gave me an error-message saying he wasn't able to install one of the files.

You can try to re-install it in Extensions > Module manager > P > PHPIDS.

If this still doesn't work you can check out the developers-site: http://php-ids.org/downloads/
Download the PHPIDS file and install it manually through an FTP program. Place it in 'www.yourdomain.com/modules'.

I'm not sure this will work, but the same procedure worked for me with the FeedbackForm...

Bob

Re: How to make my Admin Panel to look like it did?

Posted: Wed Nov 07, 2007 7:23 pm
by calguy1000
if the admin page isn't styling correctly it means that there's a php error someplace, you have to track it down.

in CMS 1.2 you can turn on debug mode in the config.php and that should tell you what's failing.

Re: How to make my Admin Panel to look like it did?

Posted: Thu Nov 08, 2007 1:15 am
by javierdl
It sucks that I can't put the time I used to... I just started a new full time job, and now I have to wait until the weekend to take care of this :(
Thanks guys :)

JDL

Re: How to make my Admin Panel to look like it did?

Posted: Wed Nov 21, 2007 1:14 am
by javierdl
calguy1000, you think you could be more specific as to how to go into Debug Mode?
I went back into my panel but there's nothing using the word "debug" on the page :(
I did a search in the CMSms site for debug but didn't find much, except for 2 links to possible solutions:
1- A Firefox plugin: Firebug, and
2- A link to a web site to install an engine called Smarty Template Engine.
Is any of these 2 the right path?

Thanks in advance,

JDL

Re: How to make my Admin Panel to look like it did?

Posted: Wed Nov 21, 2007 5:01 am
by Nullig
In your config.php file look for:

Code: Select all

#CMSMS Debug Mode?  Turn it on to get a better error when you
#see {nocache} errors.
$config['debug'] = false;
and change that last line to:

Code: Select all

$config['debug'] = true;
Nullig

Re: How to make my Admin Panel to look like it did?

Posted: Wed Nov 21, 2007 4:23 pm
by tophers
I've had the same problem with the Form Builder module (see http://forum.cmsmadesimple.org/index.ph ... 270.0.html). Perhaps this an issue Module implementation in CMSMS, not a specific module? Or these modules have a common bug?

I resorted to a reinstall and restore - my data was all intact, it was simply the interface that was having problems. That and the fact that the Modules page was inaccessible after this occurred.

Re: How to make my Admin Panel to look like it did?

Posted: Wed Nov 21, 2007 10:51 pm
by javierdl
Ok Nullig, here's the debug code it spit. What do you think it's the problem?:

Code: Select all

Debug is on. Redirecting disabled... Please click this link to continue.
/admin/login.php
Debug: (9.6999999999903E-05)

loading smarty

Debug: (0.0059269999999999)

loading adodb

Debug: (0.008227)

loading page functions

Debug: (0.012143)

loading content functions

Debug: (0.015829)

loading pageinfo functions

Debug: (0.016727)

loading translation functions

Debug: (0.017424)

loading events functions

Debug: (0.019442)

done loading files

Debug: (0.039379)

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

Debug: (0.043677)

<br>
(mysql): SELECT * FROM cms_userplugins<br>
 Error (0): <br>

Debug: (0.071632)

<br>
(mysql): SELECT * FROM cms_modules ORDER BY module_name<br>
 Error (0): <br>

Debug display of 'End of include':(0.232037)
Debug: (0.23271)

No session found.  Now check for cookies

Debug: (0.232784)

No cookies found.  Redirect to login.

Debug: (0.23569)

<br>
(mysql): SELECT user_id FROM cms_users WHERE username = 'adminjc' AND password = '34c0652a5b5fc3426fa0ff7b8720e405' AND active = 1 AND admin_access = 1<br>
 Error (0): <br>

Debug: (0.236098)

<br>
(mysql): SELECT username, password, active, first_name, last_name, admin_access, email FROM cms_users WHERE user_id = '1'<br>
 Error (0): <br>

Debug: (0.236261)

Got user by username

Debug: (0.236322)

user Object
(
    [id] => 1
    [username] => adminjc
    [password] => 34c0652a5b5fc3426fa0ff7b8720e405
    [firstname] => Jay
    [lastname] => Church
    [email] => drpeppercan@gmail.com
    [active] => 1
    [adminaccess] => 1
)

Debug: (0.236385)

Starting login procedure.  Setting userid so that other pages will pick it up and set a cookie.

Debug: (0.236785)

<br>
(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'<br>
 Error (0): <br>

Debug: (0.262694)

<br>
(mysql): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action) VALUES (1195681608,'1','adminjc','1','adminjc','User Login')<br>
 Error (0): <br>

Debug: (0.264811)

<br>
(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
        INNER JOIN cms_events e ON e.event_id = eh.event_id
        ORDER BY eh.handler_order ASC<br>
 Error (0): <br>

Debug: (0.265435)

<br>
(mysql): SELECT version from cms_version<br>
 Error (0): <br>


Re: How to make my Admin Panel to look like it did?

Posted: Thu Nov 22, 2007 7:10 pm
by javierdl
I ignore how complicated nor how risky it may be to reinstall, but I hope solving the problem is as simple (or nearly) as it was triggering the debugging results  :-\

J.

Re: How to make my Admin Panel to look like it did?

Posted: Fri Nov 23, 2007 7:03 pm
by tophers
Found this post while digging for info on the Album Module - it may help with the Admin Style Sheet issue:

http://forum.cmsmadesimple.org/index.ph ... 104.0.html

Re: How to make my Admin Panel to look like it did?

Posted: Sat Nov 24, 2007 12:49 am
by javierdl
Thank you so much tophers :)
It definitely looks like the answer to my problem!
I'll have a look soon.

J