Hello
I have just downloaded the newest version from MaxiGallery (0.5.2) and installed it on 1.0.4.
Due to SAFE_MODE on I had to set use_ftp_commands to true. Thanks for the workaround. Worked fine for me except one small thing.
In maxigallery.php on line 340 I had to set the command ftp_site to
$setPerm = ftp_site($connect, ’CHMOD 0777 /’.$mg->mgconfig[’ftp_base_dir’].$path_to_galleries.$mg->pageinfo[’id’].’/’);
if (!$setPerm) {
$output = ’Could not set permissions: ’.’CHMOD 0777 /’.$mg->mgconfig[’ftp_base_dir’].$path_to_galleries.$mg->pageinfo[’id’].’/’;
}
instead of
$setPerm = ftp_site($connect, ’CHMOD 0777 /’.$path_to_galleries.$mg->pageinfo[’id’].’/’);
if (!$setPerm) {
$output = ’Could not set permissions: ’.’CHMOD 0777 /’.$path_to_galleries.$mg->pageinfo[’id’].’/’;
}
You missed the $mg->mgconfig[’ftp_base_dir’] in front of the path.
Kind regards, Hanna