I have G2 (v2.3.2) and G3(v3.0.9) running on the same server, and I'm trying to import G2 into G3. After plugging in the path to my G2 embed.php file, every time I try to access the module at this url "/index.php/admin/g2_import", I get this error page:
Platform information
Host name: [redacted]
Operating system: Linux 3.2.0-4-amd64
Apache: Apache/2.2.22 (Debian)
PHP: 5.4.4-14+deb7u10
MySQL: 5.5.37-0+wheezy1
Server load: 0.05 0.03 0.05
Graphics toolkit: imagemagick
Gallery stats
Version: 3.0.9 (Chartres)
Albums: 0
Photos: 0
Kohana_PHP_Exception [ Fatal Error ]: GalleryCoreApi::requireOnce(): Failed opening required '/var/www/html/gallery/modules/core/classes/../../../modules/comment/classes/GalleryCommentHelper.class' (include_path='.:/usr/share/php:/usr/share/pear')
1. /var/www/html/gallery/modules/core/classes/GalleryCoreApi.class[ 2827 ]
Quote:
2822 if (!isset($loaded[$file])) {
2823 $loaded[$file] = 1;
2824 if (strpos($file, '..') !== false) {
2825 return;
2826 }
2827 require_once(dirname(__FILE__) . '/../../../' . $file);
2828 }
2829 }
2830
2831 /**
2832 * Send an email using a smarty template for the message body
2. {PHP internal call} » Kohana_PHP_Exception_Core::shutdown_handler( arguments )
3. SYSPATH/core/Event.php[ 208 ] » call_user_func_array( arguments )
4. SYSPATH/core/Kohana.php[ 553 ] » Event_Core::run( arguments )
5. {PHP internal call} » Kohana_Core::shutdown()
Posts: 7
Brain fart - obviously I didn't have the required module installed. Duh.