To post a new support question, click the Post New Topic button below.
Current Version: 4.9.2 | 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.

Sytist Showing Wrong Sytist Url?

Y
21 posts
Tue Oct 24, 17 7:29 AM CST
Hi,
For some reason, Sytist has decided that the URL for my site is: https://ybphotographic.com/clientarea//clientarea as per this comment in the Cron Jobs page:
Looks like this should be: https://ybphotographic.com/clientarea//clientarea. This must start with http:// or https://

I don't know why it thinks this, as the path to my site is actually, https://ybphotographic.com/clientarea

Now, I don't actually have any cron jobs set up, but I've still put the correct path in the field above the aforementioned comment to correct it. It's not making any difference, but then i guess, that's normal given I have no cron jobs yet.

But it is affecting when clients want to "share" an image from a gallery via email. Because it is adding the extra /clientarea/ code into the path to the image, which then returns a error 404, not surprisingly.

I've been through all the settings, but I can't figure out why it thinks the path is https://ybphotographic.com/clientarea//clientarea/*imagecode* The sy-config file has the correct path set up.

Could you advise, please?
Thanks, Yvonne.
Edited Tue Oct 24, 17 7:33 AM by Yvonne
16,242 posts (admin)
Tue Oct 24, 17 12:11 PM CST
In the sy-config file (click settings in the main menu then click edit config file under the left menu), what do you have for

$setup['temp_url_folder'] ?

It should be
$setup['temp_url_folder'] = "/clientarea";

You might have an extra or trailing slash.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
Y
21 posts
Tue Oct 24, 17 3:47 PM CST
Hi Tim,
The setup temp url code is:
$setup['temp_url_folder'] = "/clientarea";

Which looks correct.


But the permanent setup url reads this:
$setup['url'] = "https://ybphotographic.com/clientarea/";

So I think that where the duplication was is coming from.

I have removed the /clientarea/ from the setup url code, so it now just reads
$setup['url'] = "https://ybphotographic.com/";

and that does seem to have fixed the problem, and the image share is now returning the correct result. But I just want to be sure that I won't have broken anything else by doing that?

Thanks, Yvonne.

16,242 posts (admin)
Wed Oct 25, 17 8:22 AM CST
It would be best if you change $setup['url'] to:

$setup['url'] = "https://".$_SERVER['HTTP_HOST']."";

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
Y
21 posts
Wed Oct 25, 17 12:24 PM CST
Ok, will do, thank you.
5 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 901 times
Category: Other
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close