Post by warisaha » Wed Nov 15, 2017 7:13 pm

Hello there!

After a long struggle fixing soee config issues, I was fully frustated. And now a new problem arises. I cant able to upload the images. I tried to add a logo in System/Settings/Store-Eidt/Image, it is showing the "Success" box but the image is not shown (image title visible but not the image).
I urge please some one help me asap

Thanks in advance

New member

Posts

Joined
Tue Sep 19, 2017 2:31 pm

Post by warisaha » Wed Nov 15, 2017 9:15 pm

Please some one help me i'm getting frequent calls from the client about this issue. Please help me.

New member

Posts

Joined
Tue Sep 19, 2017 2:31 pm

Post by straightlight » Wed Nov 15, 2017 10:53 pm

After a long struggle fixing soee config issues, I was fully frustated.
I can understand. It must be as frustrating as not seeing the OC version on the first post.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by warisaha » Thu Nov 16, 2017 2:45 pm

Any Solution please?

New member

Posts

Joined
Tue Sep 19, 2017 2:31 pm

Post by paulfeakins » Thu Nov 16, 2017 6:12 pm

As above, post the OC version.

Also paste your 2 config.php files here, after blanking out the passwords.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Active Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by warisaha » Thu Nov 16, 2017 8:12 pm

My OC version is 2.0.3.1

Pls find the config files below:

1) Front End config.php
<?php
// HTTP
define('HTTP_SERVER', 'http://ddplus.us/');

// HTTPS
define('HTTPS_SERVER', 'http://ddplus.us/');

// DIR
define('DIR_APPLICATION', '/home3/deccanys/public_html/www.ddplus.us/catalog/');
define('DIR_SYSTEM', '/home3/deccanys/public_html/www.ddplus.us/system/');
define('DIR_LANGUAGE', '/home3/deccanys/public_html/www.ddplus.us/catalog/language/');
define('DIR_TEMPLATE', '/home3/deccanys/public_html/www.ddplus.us/catalog/view/theme/');
define('DIR_CONFIG', '/home3/deccanys/public_html/www.ddplus.us/system/config/');
define('DIR_IMAGE', '/home3/deccanys/public_html/www.ddplus.us/image/');
define('DIR_CACHE', '/home3/deccanys/public_html/www.ddplus.us/system/cache/');
define('DIR_DOWNLOAD', '/home3/deccanys/public_html/www.ddplus.us/system/download/');
define('DIR_UPLOAD', '/home3/deccanys/public_html/www.ddplus.us/system/upload/');
define('DIR_MODIFICATION', '/home3/deccanys/public_html/www.ddplus.us/system/modification/');
define('DIR_LOGS', '/home3/deccanys/public_html/www.ddplus.us/system/logs/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'deccanys_ocart24');
define('DB_PASSWORD', 'XXXXXXXXXXXX');
define('DB_DATABASE', 'deccanys_ocart24');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');

2) Admin Config.php
<?php
// HTTP
define('HTTP_SERVER', 'http://ddplus.us/admin/');
define('HTTP_CATALOG', 'http://ddplus.us/');
// HTTPS
define('HTTPS_SERVER', 'http://ddplus.us/admin/');
define('HTTPS_CATALOG', 'http://ddplus.us/');
// DIR
define('DIR_APPLICATION', '/home3/deccanys/public_html/admin/');
define('DIR_SYSTEM', '/home3/deccanys/public_html/system/');
define('DIR_LANGUAGE', '/home3/deccanys/public_html/admin/language/');
define('DIR_TEMPLATE', '/home3/deccanys/public_html/admin/view/template/');
define('DIR_CONFIG', '/home3/deccanys/public_html/system/config/');
define('DIR_IMAGE', '/home3/deccanys/public_html/image/');
define('DIR_CACHE', '/home3/deccanys/public_html/system/cache/');
define('DIR_DOWNLOAD', '/home3/deccanys/public_html/system/download/');
define('DIR_UPLOAD', '/home3/deccanys/public_html/system/upload/');
define('DIR_LOGS', '/home3/deccanys/public_html/system/logs/');
define('DIR_MODIFICATION', '/home3/deccanys/public_html/system/modification/');
define('DIR_CATALOG', '/home3/deccanys/public_html/catalog/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'deccanys_ocart24');
define('DB_PASSWORD', 'XXXXXXXXXXXX');
define('DB_DATABASE', 'deccanys_ocart24');

Hope you will provide me a way to fix it. Thank you!
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');

New member

Posts

Joined
Tue Sep 19, 2017 2:31 pm

Post by straightlight » Thu Nov 16, 2017 9:46 pm

If you use SSL, each defined:

Code: Select all

define('HTTPS_SERVER', 'http://ddplus.us/admin/');
should be defined with:

Code: Select all

define('HTTPS_SERVER', 'http://ddplus.us/admin/');
And in your admin/config.php file:

Code: Select all

define('HTTPS_SERVER', 'https://ddplus.us/admin/');
Also upload image files containing: A-Za-z0-9_- structure and no large image file size.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by warisaha » Fri Nov 17, 2017 12:55 pm

Thanks but I'm not using any SSL

New member

Posts

Joined
Tue Sep 19, 2017 2:31 pm

Post by straightlight » Fri Nov 17, 2017 8:32 pm

Are you attempting to upload large image files? Do you notice new error lines in your admin - > system - > maintenance - > error logs page or in your server access logs found on your FTP root logs/access_log file when using the image manager?

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by warisaha » Wed Nov 22, 2017 3:13 pm

I'm being showed the following error in my Admin > Tools > Error Logs
2017-11-15 7:31:48 - PHP Warning: Invalid argument supplied for foreach() in /home/deccanys/public_html/admin/model/journal2/fonts.php on line 27

New member

Posts

Joined
Tue Sep 19, 2017 2:31 pm

Post by straightlight » Wed Nov 22, 2017 7:13 pm

This log is not recent nor it is relevant. See from your access logs on your root FTP logs folder or from your host console in the logs icon if you have any recent email activities. However, I do notice the installation of Journal2 that you have.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 68 guests