ispCP - Board - Support
SquirrelMail change theme - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: SquirrelMail change theme (/thread-9433.html)



SquirrelMail change theme - NIIcK - 01-29-2010 08:55 PM

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


RE: SquirrelMail change theme - kilburn - 01-30-2010 12:59 AM

Remove the extra quotes, so it ends up like this:
Code:
$domain                 = $_SERVER['SERVER_NAME'];



RE: SquirrelMail change theme - NIIcK - 01-30-2010 01:11 AM

(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


RE: SquirrelMail change theme - kilburn - 01-30-2010 01:16 AM

I suspect that this is theme-specific. I'm afraid that I can't help you here....


RE: SquirrelMail change theme - NIIcK - 01-30-2010 02:04 AM

(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