Post by sicilian_najdorf » Fri Nov 08, 2019 8:36 am

This happen after we move to new server. In the index.php page the code

Code: Select all

die('test')
works until this line

Code: Select all

 $controller->dispatch($action, new Action('error/not_found'));
If i put die('test') after this line, the text test won't show up. it seems this line is the problem? how can i address this?

i also tried temporarily disabling vqmod. but i still get blank page. my open cart version is 2.1.0.1.


Posts

Joined
Wed Nov 23, 2016 4:13 pm

Post by sicilian_najdorf » Fri Nov 08, 2019 12:26 pm

so i have found the culprit it is in slideshow.php with this line

Code: Select all

'image' => $this->model_tool_image->resize($result['image'], $setting['width'], $setting['height']
how can i solve this?


Posts

Joined
Wed Nov 23, 2016 4:13 pm

Post by uksitebuilder » Fri Nov 08, 2019 3:55 pm

First, test by disabling the slideshow module in your admin to see if the front-end renders.

If it does then most likely you have an overly large (or corrupt) image in your slideshow that OpenCart is trying to resize but is failing, most likely due to memory exhaustion. Resize manually the images in your slideshow or increase server memory available to php in your php.ini

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 5 guests