[GH-ISSUE #616] PDO query in linked php causes blank page #437

Closed
opened 2026-03-02 15:58:45 +03:00 by kerem · 3 comments
Owner

Originally created by @Daftus on GitHub (Aug 17, 2021).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/616

Hi,

I implemented a sidebar around the FM which is included in the FM .php file. This sidebar makes a PDO query but when I try to access the FM through the sidebar it results on a blank page with no error. I removed the PDO query and everything just works fine after, but I need the query !
Any guess ?

Thanks

Originally created by @Daftus on GitHub (Aug 17, 2021). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/616 Hi, I implemented a sidebar around the FM which is included in the FM .php file. This sidebar makes a PDO query but when I try to access the FM through the sidebar it results on a blank page with no error. I removed the PDO query and everything just works fine after, but I need the query ! Any guess ? Thanks
kerem closed this issue 2026-03-02 15:58:45 +03:00
Author
Owner

@prasathmani commented on GitHub (Aug 17, 2021):

turn on error reporting in tinyfilemanager setting page and check error log, mostly session start will through error.

<!-- gh-comment-id:900496450 --> @prasathmani commented on GitHub (Aug 17, 2021): turn on error reporting in tinyfilemanager setting page and check error log, mostly session start will through error.
Author
Owner

@Daftus commented on GitHub (Aug 17, 2021):

Error log throws an error occuring when fm_show_nav_path() is called in the main. I don't know why this is an issue with the path of the FM since i'm not modifying it in any way.
Capture

<!-- gh-comment-id:900542596 --> @Daftus commented on GitHub (Aug 17, 2021): Error log throws an error occuring when fm_show_nav_path() is called in the main. I don't know why this is an issue with the path of the FM since i'm not modifying it in any way. ![Capture](https://user-images.githubusercontent.com/27859474/129782658-31074772-a0ec-4400-87ce-327c62da18ec.PNG)
Author
Owner

@Daftus commented on GitHub (Aug 17, 2021):

Ok it seems like my main.php included in the FM file wasn't trully read by the FM. The path is still messing with with me but atleast I do not have this fatal_error anymore!

Thanks

<!-- gh-comment-id:900550231 --> @Daftus commented on GitHub (Aug 17, 2021): Ok it seems like my main.php included in the FM file wasn't trully read by the FM. The path is still messing with with me but atleast I do not have this fatal_error anymore! Thanks
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/tinyfilemanager#437
No description provided.