Post by Screwball » Mon Aug 17, 2015 10:44 pm

Yesterday I upgraded my site from 1.5.5.1 to 1.5.6.4. I then upgraded my theme (Journal 2 v2.6.0) and then finally upgraded vqmod.

Since doing the upgrade I haven't been receiving order e-mails, nor have customers been receiving their order confirmation e-mails. Contact us form and order history e-mails are received with no problems. I didn't change any e-mail settings under System>Settings>Mail after I upgraded - new order alert e-mail has always been on and this hasn't changed.

I have Qphoria's Paypal Hosted extension and Get Clear Thinking's product based shipping extension installed. I contacted Qphoria yesterday as I thought it was an issue with this extension, but I've not received a reply as yet. I enabled the debug on the Paypal Hosted extension, but there doesn't seem to be any errors on there.

I've read through lots of posts and tried almost all the 'fixes' I found with none of them working (e.g. system>library>mail.php, adjusting line 97). I have now tried changing all the e-mails settings, again, with no luck at all getting admin e-mails to send. I also re-upgraded everything again this morning to see if the upload of files yesterday was the problem, but it didn't make any difference.

I'm currently having to manually send all customers an order confirmation e-mail and manually send myself order confirmations, which is tripling the work I have to do when processing orders. :(

Can anyone help me with what the problem might be?

Summary of what I'm using:
Opencart: 1.5.6.4
Journal 2 theme: 2.6.0
VQMOD: 2.5.1 - standard
Paypal Hosted latest version
Product based shipping (getclearthinking)

New member

Posts

Joined
Tue Apr 10, 2012 11:26 am

Post by IP_CAM » Wed Aug 19, 2015 4:08 am

you mention 'upgrade', without telling anyone, what you you MEAN with this, as of my knowledge, there is no such thing as a general OC-UPGRADER, or something, able to JUST upgrade an existing, and enhanced, v.1.5.5.1 Software.

But I recommend to switch back to the Default Theme, after checking ALL VALUES, set in the
'/admin/index.php?route=setting/setting - Mail' Section. Otherways, it's hardly possible, to assist.

Ernie
hitline.info/shhop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Screwball » Wed Aug 19, 2015 4:00 pm

Thank you for your reply.

I was using Opencart 1.5.5.1 and decided to change this to 1.5.6.4 (as the latest version of my theme requires Opencart 1.5.6.4 as a minimum). So what I mean by 'upgrade' is, I followed the Opencart instructions (which I have done 3 other times in the past) - I downloaded 1.5.6.4, removed both config files as instructed and then via Filezilla FTP, uploaded all folders to my server, overwriting the old ones. I then overwrote my theme folders to the latest version available and then overwrote vqmod to the latest version both using FTP.

I have tried changing all the mail values and this hasn't made any difference.

New member

Posts

Joined
Tue Apr 10, 2012 11:26 am

Post by IP_CAM » Thu Aug 20, 2015 9:28 am

typical SHOP - ROOT config.php:

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.yourSite.com/shop/');
define('HTTP_IMAGE', 'http://www.yourSite.com/shop/image/');

// HTTPS
define('HTTPS_SERVER', 'http://www.yourSite.com/shop/');
define('HTTPS_IMAGE', 'http://www.yourSite.com/shop/image/');

// DIR
define('DIR_APPLICATION', '/home/sites/www/yoursite_com/shop/catalog/');
define('DIR_SYSTEM', '/home/sites/www/yoursite_com/shop/system/');
define('DIR_DATABASE', '/home/sites/www/yoursite_com/shop/system/database/');
define('DIR_LANGUAGE', '/home/sites/www/yoursite_com/shop/catalog/language/');
define('DIR_TEMPLATE', '/home/sites/www/yoursite_com/shop/catalog/view/template/');
define('DIR_CONFIG', '/home/sites/www/yoursite_com/shop/system/config/');
define('DIR_IMAGE', '/home/sites/www/yoursite_com/shop/image/');
define('DIR_CACHE', '/home/sites/www/yoursite_com/shop/system/cache/');
define('DIR_DOWNLOAD', '/home/sites/www/yoursite_com/shop/download/');
define('DIR_LOGS', '/home/sites/www/yoursite_com/shop/system/logs/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', '');
define('DB_USERNAME', '');
define('DB_PASSWORD', '');
define('DB_DATABASE', '');
define('DB_PREFIX', 'oc_');
?>
typical ADMIN - ROOT config.php:

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.yourSite.com/shop/admin/');
define('HTTP_CATALOG', 'http://www.yourSite.com/shop/');
define('HTTP_IMAGE', 'http://www.yourSite.com/shop/image/');

// HTTPS
define('HTTPS_SERVER', 'http://www.yourSite.com/shop/admin/');
define('HTTPS_CATALOG', 'http://www.yourSite.com/shop/');
define('HTTPS_IMAGE', 'http://www.yourSite.com/shop/image/');

// DIR
define('DIR_APPLICATION', '/home/sites/www/yoursite_com/shop/admin/');
define('DIR_SYSTEM', '/home/sites/www/yoursite_com/shop/system/');
define('DIR_DATABASE', '/home/sites/www/yoursite_com/shop/system/database/');
define('DIR_LANGUAGE', '/home/sites/www/yoursite_com/shop/admin/language/');
define('DIR_TEMPLATE', '/home/sites/www/yoursite_com/shop/admin/view/template/');
define('DIR_CONFIG', '/home/sites/www/yoursite_com/shop/system/config/');
define('DIR_IMAGE', '/home/sites/www/yoursite_com/shop/image/');
define('DIR_CACHE', '/home/sites/www/yoursite_com/shop/system/cache/');
define('DIR_DOWNLOAD', '/home/sites/www/yoursite_com/shop/download/');
define('DIR_LOGS', '/home/sites/www/yoursite_com/shop/system/logs/');
define('DIR_CATALOG', '/home/sites/www/yoursite_com/shop/catalog/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', '');
define('DB_USERNAME', '');
define('DB_PASSWORD', '');
define('DB_DATABASE', '');
define('DB_PREFIX', 'oc_');
?>
If one of your files looks 'fundamentally' different, misses lines, or something, or has other lines,
not even shown here, fix it, and try again.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Screwball » Thu Aug 20, 2015 10:01 pm

Thanks again for your reply. I fixed the problem earlier and it was a bit of a strange one. I took a look at both the root config.php and the admin config.php and everything was where it should be and nothing was missing.

I decided to take a look at the root index.php and noticed that this was at the top:

// Version
define('VERSION', '1.5.5.1');

instead of:

// Version
define('VERSION', '1.5.6.4');

So, I replaced my root index file with the one from my test site (where the e-mails were working with no problems) and the e-mail notifications started working again. Not sure what had happened during the move from 1.5.5.1 to 1.5.6.4, but the main thing is, it's fixed now!

New member

Posts

Joined
Tue Apr 10, 2012 11:26 am

Post by IP_CAM » Thu Aug 20, 2015 11:39 pm

you wrote, that you copied everything, with the exeption of the old version config.php files, to the new sever. But seemengly, you still had/have some v.1.5.5.1 Files in your new setup. Check your ADMIN/INDEX.PHP file as well for it's Version!
Good Luck
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 4 guests