Post by kaderbawa » Wed Jun 06, 2018 2:11 am

Hai,

i am new to open cart, working on localhost working fine in localhost, move those file in server, getting following errors.

Warning: fopen(/home/aathreya/public_html/qualitymalls.com/storage/library/logs/error.log): failed to open stream: No such file or directory in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at /home/aathreya/public_html/qualitymalls.com/system/library/log.php:22) in /home/aathreya/public_html/qualitymalls.com/system/framework.php on line 108
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31
Warning: fopen(/home/aathreya/public_html/qualitymalls.com/storage/library/logs/openbay.log): failed to open stream: No such file or directory in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 22
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31
Warning: fopen(/home/aathreya/public_html/qualitymalls.com/storage/library/logs/openbay.log): failed to open stream: No such file or directory in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 22
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 39
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/aathreya/public_html/qualitymalls.com/system/library/log.php:22) in /home/aathreya/public_html/qualitymalls.com/catalog/controller/startup/session.php on line 25
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/aathreya/public_html/qualitymalls.com/system/library/log.php:22) in /home/aathreya/public_html/qualitymalls.com/catalog/controller/startup/startup.php on line 99
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/aathreya/public_html/qualitymalls.com/system/library/log.php:22) in /home/aathreya/public_html/qualitymalls.com/catalog/controller/startup/startup.php on line 157
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31
Warning: fopen(/home/aathreya/public_html/qualitymalls.com/storage/library/logs/openbay.log): failed to open stream: No such file or directory in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 22
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 39
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31
Warning: fopen(/home/aathreya/public_html/qualitymalls.com/storage/library/logs/error.log): failed to open stream: No such file or directory in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 22
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/aathreya/public_html/qualitymalls.com/system/library/log.php on line 31

i am struck in this any one help me :(
i believe i was made mistake in my config.php file.. below is the config.php

<?php
// HTTP
define('HTTP_SERVER', 'http://qualitymalls.com/');

// HTTPS
define('HTTPS_SERVER', 'http://qualitymalls.com/');

// DIR
define('DIR_APPLICATION', '/home/aathreya/public_html/qualitymalls.com/catalog/');
define('DIR_SYSTEM', '/home/aathreya/public_html/qualitymalls.com/system/');
define('DIR_IMAGE', '/home/aathreya/public_html/qualitymalls.com/image/');
define('DIR_STORAGE', '/home/aathreya/public_html/qualitymalls.com/storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'library/logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

Dtabase setting i have done correctly.

Newbie

Posts

Joined
Wed May 23, 2018 10:52 pm

Post by IP_CAM » Thu Jun 07, 2018 4:52 am

Well, I would try it this way too, just to make sure... 8)
But that's just a plain guess!
Ernie

Code: Select all

define('DIR_LANGUAGE', '/home/aathreya/public_html/qualitymalls.com/catalog/language/');
define('DIR_TEMPLATE', '/home/aathreya/public_html/qualitymalls.com/catalog/view/theme/');
define('DIR_CONFIG', '/home/aathreya/public_html/qualitymalls.com/system/config/');
define('DIR_CACHE', '/home/aathreya/public_html/qualitymalls.com/storage/cache/');
define('DIR_DOWNLOAD', '/home/aathreya/public_html/qualitymalls.com/storage/download/');
define('DIR_LOGS', '/home/aathreya/public_html/qualitymalls.com/storage/library/logs/');
define('DIR_MODIFICATION', '/home/aathreya/public_html/qualitymalls.com/storage/modification/');
define('DIR_SESSION', '/home/aathreya/public_html/qualitymalls.com/storage/session/');
define('DIR_UPLOAD', '/home/aathreya/public_html/qualitymalls.com/storage/upload/');

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Guru Member

Posts

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

Users browsing this forum: No registered users and 3 guests