[13.3.0] Missing '?' in links #1586

Closed
opened 2026-10-05 00:49:09 +02:00 by adam · 3 comments
Owner

Just upgraded from 12.3.0 to 13.3.0 (with php 7.4)

I have a problem with all internal links of the frontend (not in the administration) that are missing a '?' (when i add it manually i can see the correct page). It happens on all the themes i have tested (elegant, bootstrap_darkroom and smartpocket).

For exemple the link to a category is

mypiwigoinstance/index.php/category/mycategory

but should be

mypiwigoinstance/index.php?/category/mycategory

Just upgraded from 12.3.0 to 13.3.0 (with php 7.4) I have a problem with all internal links of the frontend (not in the administration) that are missing a '?' (when i add it manually i can see the correct page). It happens on all the themes i have tested (elegant, bootstrap_darkroom and smartpocket). For exemple the link to a category is > mypiwigoinstance/index.php/category/mycategory but should be > mypiwigoinstance/index.php?/category/mycategory <!-- github-sync-id:1468281787 -->
adam closed this issue 2026-10-05 00:49:09 +02:00
Author
Owner

I temporarily solved the problem by adding the following line in includes/functions_url.inc.php at line 128 on my server

$conf['question_mark_in_urls'] = true;

I temporarily solved the problem by adding the following line in *includes/functions_url.inc.php* at line 128 on my server `$conf['question_mark_in_urls'] = true;` <!-- github-comment-id:1340689081 -->
Author
Owner

but that's the default configuration!

Is your file include/config_defaults.inc.php corrupted? Use plugin Check Files Integrity to very https://piwigo.org/ext/extension_view.php?eid=844
don't you have this setting set to false in your local/config/config.inc.php file?

but that's the default configuration! Is your file `include/config_defaults.inc.php` corrupted? Use plugin Check Files Integrity to very https://piwigo.org/ext/extension_view.php?eid=844 don't you have this setting set to `false` in your `local/config/config.inc.php` file? <!-- github-comment-id:1340875435 -->
Author
Owner

The config file was indeed corrupted, i restored it to default and everything is okay now.

Thanks for the help.

The config file was indeed corrupted, i restored it to default and everything is okay now. Thanks for the help. <!-- github-comment-id:1342281973 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1586