Current time: 11-26-2024, 06:19 PM Hello There, Guest! (LoginRegister)


Post Reply 
SquirrelMail change theme
Author Message
NIIcK Offline
Junior Member
*

Posts: 43
Joined: Jan 2010
Reputation: 0
Post: #1
SquirrelMail change theme
Hello,

I have added a new theme to SquirrelMail, ran the /var/www/ispcp/gui/tools/webmail/config/conf.pl to add the theme and set my newly added theme as default; saved the configuration and now when I visit the /webmail for the webmail interface I get this error:

Code:
Parse error: syntax error, unexpected T_STRING in /var/www/ispcp/gui/tools/webmail/config/config.php  on line 30

Line 30 in config.php is:
Code:
$domain                 = '$_SERVER['SERVER_NAME']';

Please, what can I do to fix this? Keeping the new theme would be preferable.

Thank you,

Nick
(This post was last modified: 01-29-2010 08:56 PM by NIIcK.)
01-29-2010 08:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: SquirrelMail change theme
Remove the extra quotes, so it ends up like this:
Code:
$domain                 = $_SERVER['SERVER_NAME'];
01-30-2010 12:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
NIIcK Offline
Junior Member
*

Posts: 43
Joined: Jan 2010
Reputation: 0
Post: #3
RE: SquirrelMail change theme
(01-30-2010 12:59 AM)kilburn Wrote:  Remove the extra quotes, so it ends up like this:
Code:
$domain                 = $_SERVER['SERVER_NAME'];

Thanks kilburn. Done as suggested and I can login but ... the area where messages should've been has this error (even though I'm logged in):

Code:
SquirrelMail version 1.4.20-RC2
By the SquirrelMail Project Team
ERROR
You must be logged in to access this page.
Go to the login page

Thank you,

Nick
01-30-2010 01:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: SquirrelMail change theme
I suspect that this is theme-specific. I'm afraid that I can't help you here....
01-30-2010 01:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
NIIcK Offline
Junior Member
*

Posts: 43
Joined: Jan 2010
Reputation: 0
Post: #5
RE: SquirrelMail change theme
(01-30-2010 01:16 AM)kilburn Wrote:  I suspect that this is theme-specific. I'm afraid that I can't help you here....

Yup. Seems theme specific ... however, did you notice how odd the preview pane in SquirrelMail looks like? It loads the entire page not just the message.

Here it is a screenshot:

[Image: squirrel.jpg]

Cheers,

Nick
01-30-2010 02:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)