SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1
Topic Change of SilverCart Logo logo.png 13525 Views

Change of SilverCart Logo logo.png

5 December 2011 at 5:01pm

Hi,

if I change the logo silvercart/images/logo.png to another png-file in silvercart/templates/Page.ss the silvercart-screen appears totally disrupted. The new png-file has nearly the same size and the same dimensions as the original.

Thanks,

Gerhard

Re: Change of SilverCart Logo logo.png

5 December 2011 at 5:13pm

Hi Gerhard,

maybe you accidentally deleted a closing tag?

Changing a plain image inside the template should not break anything. Is your project public to have a look at the source?

Cheers
Ramon

Re: Change of SilverCart Logo logo.png

5 December 2011 at 5:38pm

Hi Ramon,

you can have a look at http://www.diboss-deutschland.de/silvercart1.2/

Cheers,

Gerhard

Re: Change of SilverCart Logo logo.png

5 December 2011 at 6:28pm Last edited: 7 December 2011 5:59pm

Hi Gerhard,

this is in fact a kind of weird...
I can't really reproduce this problem.
Tried to flush your cache by calling http://www.diboss-deutschland.de/silvercart1.2/?flush=all (logged in as admin)?
Could be a caching problem.

We will have a detailed look on this topic tomorrow.

In the meantime you should be able to work around the problem by putting this installation into dev mode by calling the following code inside your /mysite/_config.php:

Director::set_environment_type('dev');

Cheers,
Sebastian

Re: Change of SilverCart Logo logo.png

5 December 2011 at 7:44pm

Hi Sebastian,

I already emptied the silverstripe-cache directory, and I flushed the application with &flush=1, but nothing changed. Do you also get the disrupted screen ?

Cheers,

Gerhard

Re: Change of SilverCart Logo logo.png

7 December 2011 at 6:14pm

Hi Gerhard,

no, I didn't get a disrupted screen. All worked fine for me in a fresh installation (in dev and live mode).

Perhaps a permission problem with your assets folder?

Cheers, Sebastian

Re: Change of SilverCart Logo logo.png

8 December 2011 at 11:51am

Hi Sebastian,

this is my error log :

File does not exist: /var/www/vhosts/"mysite"/httpdocs/silvercart,
referer: http://"mysite"/silvercart1.2/admin/silvercart-configuration/

File does not exist: /var/www/vhosts/"mysite"/httpdocs/silvercart,
referer: http://"mysite"/silvercart1.2/admin

Re: Change of SilverCart Logo logo.png

8 December 2011 at 12:09pm

Does this log file only include http errors or does it include PHP errors, too?
If you do not really know, you can easily check by provoking an PHP syntax error. If there is no PHP error logged after the error occured, it is not the correct log file.

Is the PHP error logging/reporting generally activated?