forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 permissions => Topic started by: Karsten on October 09, 2017, 07:13:53 pm

Title: Users and guests only blank screen
Post by: Karsten on October 09, 2017, 07:13:53 pm
Hello,

I am using copermine 1.6.0.3 and after having some problems with my website, users and guest can only see the gallery overview, no thumbnails, no photos. Admins can do that.
Php is 5.6.

Any idea or hint for me?

https://alteisen.training/Fotogalerie/ (https://alteisen.training/Fotogalerie/)

Thank you,

Karsten
Title: Re: Users and guests only blank screen
Post by: ron4mac on October 09, 2017, 08:14:15 pm
It looks to me like this may apply to your site, as well.
http://forum.coppermine-gallery.net/index.php/topic,79189.msg383988.html#msg383988

Your site seems to function okay when accessed as https://alteisen.training/Fotogalerie/?theme=curve

Replace the occurrences of mysql_ with cpg_db_ in your themes/timoswelt/theme.php file.

Also, it looks to me like PHP 7 is being used.
Title: Re: Users and guests only blank screen
Post by: Karsten on October 09, 2017, 10:02:38 pm
Thank you very much. I'll add the corrections on Tuesday (now it is too late).

To PHP: I told my hoster to use 5.6, but.....7.0 is also fine.

FF.

Karsten
Title: Re: Users and guests only blank screen
Post by: Karsten on October 11, 2017, 12:19:50 pm
Wonderful, it works!

THANK YOU!!!!!!
Title: Re: Re: Users and guests only blank screen
Post by: FrA1l3 on March 08, 2018, 05:30:59 pm
It looks to me like this may apply to your site, as well.
http://forum.coppermine-gallery.net/index.php/topic,79189.msg383988.html#msg383988

Your site seems to function okay when accessed as https://alteisen.training/Fotogalerie/?theme=curve

Replace the occurrences of mysql_ with cpg_db_ in your themes/timoswelt/theme.php file.

Also, it looks to me like PHP 7 is being used.


Thank you! This post save me a lot of time! It's is working again.
Cheers!