[GH-ISSUE #90] 404 Error #67

Closed
opened 2026-02-25 23:40:34 +03:00 by kerem · 2 comments
Owner

Originally created by @MachineGalaxy on GitHub (Sep 4, 2019).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/90

When I upload any file, it uploads successfully however when I try and load the image on the website. The link gives me a 404 error. Have I missed something in the installation to tell it the correct URL or am I just missing something?

config.inc.php:
<?php 
/**
 * All settings that are uncommented are mandatory
 * Others optional
 */

//Use a specific domain for links presented to the user
//Format: https://your.domain.name/
// MUST HAVE TAILING /
define('URL','https://img.serenitylabs.co.uk/');
define('LOG_UPLOADER', true);
define('TITLE', 'Serenity Labs Media Uploader');

//define('JPEG_COMPRESSION', 90);
//define('FFMPEG_BINARY','');
//define('ALT_FOLDER','/ftp/pictshare');
//define('ALLOWED_SUBNET','192.168.0.0/24');
Originally created by @MachineGalaxy on GitHub (Sep 4, 2019). Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/90 When I upload any file, it uploads successfully however when I try and load the image on the website. The link gives me a 404 error. Have I missed something in the installation to tell it the correct URL or am I just missing something? ``` config.inc.php: <?php /** * All settings that are uncommented are mandatory * Others optional */ //Use a specific domain for links presented to the user //Format: https://your.domain.name/ // MUST HAVE TAILING / define('URL','https://img.serenitylabs.co.uk/'); define('LOG_UPLOADER', true); define('TITLE', 'Serenity Labs Media Uploader'); //define('JPEG_COMPRESSION', 90); //define('FFMPEG_BINARY',''); //define('ALT_FOLDER','/ftp/pictshare'); //define('ALLOWED_SUBNET','192.168.0.0/24'); ```
kerem closed this issue 2026-02-25 23:40:34 +03:00
Author
Owner

@geek-at commented on GitHub (Sep 4, 2019):

Are you using the docker image or on your own server?

If it's on your own check:

  • Your error log
  • Is the data folder writeable for the user of the webserver (probably www-data)?
<!-- gh-comment-id:528095144 --> @geek-at commented on GitHub (Sep 4, 2019): Are you using the docker image or on your own server? If it's on your own check: - Your error log - Is the data folder writeable for the user of the webserver (probably www-data)?
Author
Owner

@MachineGalaxy commented on GitHub (Sep 5, 2019):

Hi,
Don't worry about it. I figured it out. For some reason, my https redirect was not working correctly and that was what was breaking everything. Thanks for the reply though.

Thanks
Zak

<!-- gh-comment-id:528304904 --> @MachineGalaxy commented on GitHub (Sep 5, 2019): Hi, Don't worry about it. I figured it out. For some reason, my https redirect was not working correctly and that was what was breaking everything. Thanks for the reply though. Thanks Zak
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pictshare#67
No description provided.