To post a new support question, click the Post New Topic button below.
Current Version: 4.8.5 | Sytist Manual | Common Issues | Feature Requests
Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.
Wrong Url And Strange On Front End.
A
Anthony Treasurer
31 posts
Mon Oct 15, 18 11:39 AM CST
Hi, we have an error on a Sytist site that I can't work out.
It was all working with no problems before.
Basically on the front end, nothing is showing properly (no logo, links don't work etc).
But also - it seems to have changed what it's URL is too.
It should be www.studiocphotography.co.uk/galleries
But when you look at some of the settings, it thinks it's in the root (www.studiocphotograph.co.uk/)
After searching the support forum, I checked the config file. It looks different to how I expected compared to what was mentioned in other posts. This is the config file contents (sensitive info redacted):
$setup['path']= dirname(__FILE__);
$setup['url'] = "http://".$_SERVER['HTTP_HOST']."";
$setup['pc_db_location'] = "localhost";
$setup['pc_db'] = "REDACTED";
$setup['pc_db_user'] = "REDACTED";
$setup['pc_db_pass'] = 'REDACTED';
$setup['manage_folder'] = "sy-admin";
$setup['inc_folder'] = "sy-inc";
$setup['graphics_folder'] = "sy-graphics";
$setup['misc_folder'] = "sy-misc";
$setup['photos_upload_folder'] = "sy-photos";
$setup['layouts_folder'] = "sy-layouts";
$setup['tags_folder'] = "tags";
$setup['downloads_folder'] = "sy-downloads";
error_reporting(E_ALL ^ E_NOTICE);
ini_set('memory_limit', '512M');
ini_set('upload_max_filesize', '30M');
ini_set('post_max_size', '30M');
ini_set('log_errors', 'on');
ini_set('error_log', $setup['path']."/errors.txt");
ini_set('session.gc_maxlifetime', 3600);
ini_set('session.save_path', $setup['path']."/sy-phpsessions");
// If you need to make adjustments to this file do so below this line before the closing PHP tag.
$setup['use_temp_css_file'] = true;
====
Any ideas on what could be going on?
Hosted on Siteground if that makes any difference.
It was all working with no problems before.
Basically on the front end, nothing is showing properly (no logo, links don't work etc).
But also - it seems to have changed what it's URL is too.
It should be www.studiocphotography.co.uk/galleries
But when you look at some of the settings, it thinks it's in the root (www.studiocphotograph.co.uk/)
After searching the support forum, I checked the config file. It looks different to how I expected compared to what was mentioned in other posts. This is the config file contents (sensitive info redacted):
$setup['path']= dirname(__FILE__);
$setup['url'] = "http://".$_SERVER['HTTP_HOST']."";
$setup['pc_db_location'] = "localhost";
$setup['pc_db'] = "REDACTED";
$setup['pc_db_user'] = "REDACTED";
$setup['pc_db_pass'] = 'REDACTED';
$setup['manage_folder'] = "sy-admin";
$setup['inc_folder'] = "sy-inc";
$setup['graphics_folder'] = "sy-graphics";
$setup['misc_folder'] = "sy-misc";
$setup['photos_upload_folder'] = "sy-photos";
$setup['layouts_folder'] = "sy-layouts";
$setup['tags_folder'] = "tags";
$setup['downloads_folder'] = "sy-downloads";
error_reporting(E_ALL ^ E_NOTICE);
ini_set('memory_limit', '512M');
ini_set('upload_max_filesize', '30M');
ini_set('post_max_size', '30M');
ini_set('log_errors', 'on');
ini_set('error_log', $setup['path']."/errors.txt");
ini_set('session.gc_maxlifetime', 3600);
ini_set('session.save_path', $setup['path']."/sy-phpsessions");
// If you need to make adjustments to this file do so below this line before the closing PHP tag.
$setup['use_temp_css_file'] = true;
====
Any ideas on what could be going on?
Hosted on Siteground if that makes any difference.
Edited Mon Oct 15, 18 11:48 AM by Anthony Treasurer
Tim - PicturesPro.com
16,148 posts
(admin)
Mon Oct 15, 18 12:02 PM CST
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
My Email Address: info@picturespro.com
A
Anthony Treasurer
31 posts
Mon Oct 15, 18 12:13 PM CST
I'm an idiot and I apologise - sorry for wasting your time!!
Please log in or Create an account to post or reply to topics.
Loading more pages