Uncaught mysqli_sql_exception: Duplicate entry '16777215' for key 'PRIMARY' in /

Started by stray_tachyon, February 09, 2025, 12:24:10 PM

Previous topic - Next topic

stray_tachyon

Quote from: Kindred on February 11, 2025, 09:18:24 PMWhatever you set it to use in smf admin

Would you mind telling me where in the admin I can configure the image URL?

In the Settings.php of the live site, I have
$image_proxy_enabled = true;
$image_proxy_secret = '<some random string';
$image_proxy_maxsize = 5190;

For example I can load the image without SSL after I am logged in:
http://www.china-defense.com/smf/Themes/default/images/boardicons.png [nofollow]

but can't load it in SSL still
https://www.china-defense.com/smf/Themes/default/images/boardicons.png [nofollow]

Thanks

Kindred

Ok, that's a whole different issue...

the images not showing up when the theme is loaded is usually due to using the wrong URL for the setting
(header logo image, avatars, attachments, themes, etc)

Not being able to load it DIRECTLY via https suggests that you have a badly configured HOST!
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

stray_tachyon

Quote from: Kindred on February 12, 2025, 06:34:04 AMOk, that's a whole different issue...

the images not showing up when the theme is loaded is usually due to using the wrong URL for the setting
(header logo image, avatars, attachments, themes, etc)

Not being able to load it DIRECTLY via https suggests that you have a badly configured HOST!

You are absolutely right!!!

I commented out the following line in the .htaccess file and the icons are loaded in SSL
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

Thanks again.

Advertisement: