Oldengine
Active member
Running XF 2.15a with Media Gallery 2.1.5
Import 1.2.5 brought in the gallery database files.
The Photopost software originally had a root subdirectory /gallery/ which for the time being still exists.
While my XF board is up and running, I get a lot of these errors in the error_log
[13-Dec-2019 02:51:11 UTC] PHP Warning: require_once(./global.php): failed to open stream: No such file or directory in /home/smoky/public_html/gallery/gallery_global.php on line 58
54 // ######################### REQUIRE BACK-END ############################
55 require_once('./gallery_config.php');
56
57 chdir($forumpath);
58 require_once('./global.php');
59 require_once(DIR . '/includes/functions_gallery.php');
Gallery_config.php included this line to the site's forum root:
$forumpath = '/home/smoky/public_html/forum';
Evidently something got missed in an XF Media Gallery Config?
Maybe I need to move these files from site root to forum root?
Has anyone run into this error?
Your solution?
Import 1.2.5 brought in the gallery database files.
The Photopost software originally had a root subdirectory /gallery/ which for the time being still exists.
While my XF board is up and running, I get a lot of these errors in the error_log
[13-Dec-2019 02:51:11 UTC] PHP Warning: require_once(./global.php): failed to open stream: No such file or directory in /home/smoky/public_html/gallery/gallery_global.php on line 58
54 // ######################### REQUIRE BACK-END ############################
55 require_once('./gallery_config.php');
56
57 chdir($forumpath);
58 require_once('./global.php');
59 require_once(DIR . '/includes/functions_gallery.php');
Gallery_config.php included this line to the site's forum root:
$forumpath = '/home/smoky/public_html/forum';
Evidently something got missed in an XF Media Gallery Config?
Maybe I need to move these files from site root to forum root?
Has anyone run into this error?
Your solution?
Last edited: