Jump to content

Transferred to new domain, now getting a fatal error


Recommended Posts

Hi there,

 

I followed your instructions on how to transfer my shop from a subdomain to a live domain and everything seemed to go smoothly, however now (when I turn errors on) my homepage is blank apart from this message:

 

Fatal error: Call to undefined method ImageType::getFormatedName() in /home/ftp_conet_customer_sites/safety-sign-shop.com/modules/homefeatured/homefeatured.php on line 111

 

And on line 111 of homefeatured.php I have this:

 

'homeSize' => Image::getSize(ImageType::getFormatedName('home')),

 

Any ideas please guys?

Link to comment
Share on other sites

Hi there,

 

I followed your instructions on how to transfer my shop from a subdomain to a live domain and everything seemed to go smoothly, however now (when I turn errors on) my homepage is blank apart from this message:

 

Fatal error: Call to undefined method ImageType::getFormatedName() in /home/ftp_conet_customer_sites/safety-sign-shop.com/modules/homefeatured/homefeatured.php on line 111

 

And on line 111 of homefeatured.php I have this:

 

'homeSize' => Image::getSize(ImageType::getFormatedName('home')),

 

Any ideas please guys?

What's your prestashop version?

Link to comment
Share on other sites

No it doesn't work properly if its turned off :(

 

I turned the error display on in config.inc.php like this:

 

/* Debug only */
@ini_set('display_errors', 'on');
define('_PS_DEBUG_SQL_', false);

 

Should I do it in defines.inc.php ?

 

So, if i understand correct you have just blank white page when errors are not displayed.

 

Check you have wright permissions (775) to the folders:

themes/your_theme/cache/

/cache/smarty/compile

/cache/smarty/cache

/cache/cachfs

Edited by doubleD (see edit history)
Link to comment
Share on other sites

I just checked the two versions on my hardrive..

 

The one I developed on the old sub domain has 22,000 files and 3198 folders.

 

The version I downloaded from the sub domain and then uploaded to my live site only has 15,000 files and 2273 folders!!?

 

YIKES!

 

Hmm thats tomorrows job then! Thanks for the help man, very much appreciated.

Link to comment
Share on other sites

×
×
  • Create New...