Upgrading to 5.6.0.2

Permalink
I have just upgraded from 5.5.2.1 to 5.6.0.2 and all looks ok accept for my images that I have hardcoded into my page type templates.

The links to my images are now referencing the update folder instead of the themes folder where my images are stored

This
http://mysite/updates/concrete5.6.0.2/concrete/themes/auscoal_theme...

Instead of this
http://mysite/themes/auscoal_theme/images/auscoal-awards.gif...

 
mhawke replied on at Permalink Reply
mhawke
Shot in Dark... Clear the C5 Cache perhaps? Better yet, clear it and then turn them off while developing your site.
auscoal replied on at Permalink Reply
My Cache is turned off and I manually cleared to to no avail
mhawke replied on at Permalink Reply
mhawke
What happens if you try setting your theme to one of the themes included with C5 and then flipping it back to your theme again?
mhawke replied on at Permalink Reply
mhawke
Can you post the exact line of code that hard-codes your images into the template?
auscoal replied on at Permalink Reply
I tried your above and it did not work.

This is my code in the template

<div id="content-end"><a href="<?php echo DIR_REL; ?>/auscoal-super/about-auscoal-super/our-awards"><img src="<?php echo $this->getThemePath()?>/images/auscoal-awards.gif" alt="AUSCOAL Awards" width="955" height="96" border="0"/></a></div>


This is where C5 thinks the image is

http://192.168.1.82/updates/concrete5.6.0.2/concrete/themes/auscoal...

This is where it should be found

http://192.168.1.82/themes/auscoal_theme/images/auscoal-awards.gif...

I am behind a network here

Thanks
auscoal replied on at Permalink Reply
I moved my theme folder from /themes to updates/concrete5.6.0.2/themes and it works.

Should, this be the default location of the themes folder when upgrading or has something else happened here?

Now all my images are refered with the upgrade path /updates/concrete5.6.0.2/concrete/themes/auscoal_theme/images/logo.gif

Do I need to change this back??

Essentially when the upgrade happened the core files are telling to look in the updates folder. Is this right?
mhawke replied on at Permalink Reply
mhawke
I'm glad it's working but I suspect you might have trouble upgrading the next time unless you get this figured out. My gut tells me that you should force the upgrade again because I don't think the tables were updated properly the first time but you need to put your theme back to 'root/themes' first.

Try viewing the source while logged in. Near the top the source code, C5 sets a bunch of variables. Have a look at the values it sets for 'CCM_REL' and 'CCM_BASE_URL'. Old versions of C5 needed BASE_URL and DIR_REL defined in the site.php but newer versions are supposed to figure these directories out automatically.
auscoal replied on at Permalink Reply
Hi Thanks,

I have rolled back 3 times now then upgraded and the same result happens.

Here are the vars from my logged in header.

var CCM_DISPATCHER_FILENAME = '/index.php';
var CCM_CID = 1;
var CCM_EDIT_MODE = false;
var CCM_ARRANGE_MODE = false;
var CCM_IMAGE_PATH = "/updates/concrete5.6.0.2/concrete/images";
var CCM_TOOLS_PATH = "/index.php/tools/required";
var CCM_BASE_URL = "http://192.168.1.82";
var CCM_REL = "";

PS: the IP here is correct as i'm behind a network.
mhawke replied on at Permalink Reply
mhawke
What's in your root/config/site.php file?
auscoal replied on at Permalink Reply
<?php 
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxxxxx');
define('DB_PASSWORD', '@xxxxxxxxx');
define('DB_DATABASE', 'xxxxxxxxxx');
define('PASSWORD_SALT', 'xxxxxxxxx');
define('WHITE_LABEL_LOGO_SRC', 'xxxxxxx');
define('WHITE_LABEL_DASHBOARD_BACKGROUND_SRC', 'xxxxxxxx');
define('ENABLE_NEWSFLOW_OVERLAY', false);
?><?php ?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.0.2');?>
kevindcornwell replied on at Permalink Reply
kevindcornwell
I too am having this issue. My solution was to copy the theme into the update directory, but if there is a way to change it back I would much appreciate the solution.

Add to this issue I now do not have a a toolbar on my home page.
auscoal replied on at Permalink Reply
Yes that's the same as me. I can't seem to get an answer but If I find one ill post it back on here.