Post by Garret H » Sun Feb 09, 2014 1:03 am

Last night I attempted to switch to SSL. My web host installed a certificate and everything was correct with the cert -- I edited the system > settings and both config.php files. Immediately after, the site went dead. Now, am I just trying to get back to where I was before so the site will work! I finally got into the admin page and turned off SSL, and the config files have been returned to original. This is the error I am getting on the front end:

Notice: Error: Could not load template /home3/altituf1/public_html/catalog/view/theme//template/module/journal_rev_slider.tpl! in /home3/altituf1/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 75

The site is http://www.altitudehobbies.com

I have the ThemeForest Journal theme installed; what is strange is NO THEMES are showing the system > settings > store > templates drop down menu. I've tried everything I can, and I need to get the site back up. PLEASE HELP!!!

Thank you,
Garret
Last edited by Garret H on Sun Feb 09, 2014 4:28 am, edited 1 time in total.

New member

Posts

Joined
Wed Jan 25, 2012 12:20 am

Post by Xyph3r » Sun Feb 09, 2014 3:30 am

As you see..some files are missing from your installation.

Re-upload the theme and try again

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by Garret H » Sun Feb 09, 2014 3:34 am

Xyph3r wrote:As you see..some files are missing from your installation.

Re-upload the theme and try again
I already tried that among many other things. No themes are displayed at all (not even default) in the drop down menu in the settings section.

I'm getting this error in the admin settings:

Notice: Use of undefined constant DIR_CATALOG - assumed 'DIR_CATALOG' in /home3/altituf1/public_html/vqmod/vqcache/vq2-admin_controller_setting_setting.php on line 422

Right now I am trying to do a full reinstall of all the files I made a backup of a few weeks ago. Then I will run a db restore I made yesterday in hopes I can get all the data back. This is incredibly frustrating....I don't know how flipping one switch (to enable the SSL) caused this all to happen.

Garret

New member

Posts

Joined
Wed Jan 25, 2012 12:20 am

Post by Xyph3r » Sun Feb 09, 2014 3:44 am

The SSL switch cannot produce this problems.

Verify the config files again. Something is wrong in there.

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by Garret H » Sun Feb 09, 2014 3:58 am

I don't see anything wrong in the config files. Here they are minus the DB creds which I know are correct.

We edited the https to reflect the ssl change and then edited them back to how they were. I'm running OC 1.5.5.1 by the way.

config.php

Code: Select all

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

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

// DIR
define('DIR_APPLICATION', '/home3/altituf1/public_html/catalog/');
define('DIR_SYSTEM', '/home3/altituf1/public_html/system/');
define('DIR_DATABASE', '/home3/altituf1/public_html/system/database/');
define('DIR_LANGUAGE', '/home3/altituf1/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home3/altituf1/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home3/altituf1/public_html/system/config/');
define('DIR_IMAGE', '/home3/altituf1/public_html/image/');
define('DIR_CACHE', '/home3/altituf1/public_html/system/cache/');
define('DIR_DOWNLOAD', '/home3/altituf1/public_html/download/');
define('DIR_LOGS', '/home3/altituf1/public_html/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'user');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'db');
define('DB_PREFIX', '');
?>
admin/config.php:

Code: Select all

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

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

// DIR
define('DIR_APPLICATION', '/home3/altituf1/public_html/admin/');
define('DIR_SYSTEM', '/home3/altituf1/public_html/system/');
define('DIR_DATABASE', '/home3/altituf1/public_html/system/database/');
define('DIR_LANGUAGE', '/home3/altituf1/public_html/admin/language/');
define('DIR_TEMPLATE', '/home3/altituf1/public_html/admin/view/template/');
define('DIR_CONFIG', '/home3/altituf1/public_html/system/config/');
define('DIR_IMAGE', '/home3/altituf1/public_html/image/');
define('DIR_CACHE', '/home3/altituf1/public_html/system/cache/');
define('DIR_DOWNLOAD', '/home3/altituf1/public_html/download/');
define('DIR_LOGS', '/home3/altituf1/public_html/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'username');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'db');
define('DB_PREFIX', '');
?>

New member

Posts

Joined
Wed Jan 25, 2012 12:20 am

Post by Garret H » Sun Feb 09, 2014 4:28 am

I got it!!! I went back and compared the config files to copies from an old backup and noticed a couple lines of text were missing....I have no clue how they got deleted, but they did.

Thanks so much for pointing me in the right direction!

Garret

New member

Posts

Joined
Wed Jan 25, 2012 12:20 am
Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 87 guests