in the 49 beta 2, when trying to delete a picture Maxigallery raise an error:
Error: unlink(assets/galleries/46/) [function.unlink]: Is a directory
Error type/ Nr.: Warning - 2
File: /home.6/b/o/u/bourling/www/assets/snippets/maxigallery/maxigallery.php
Line: 344
Line 344 source: unlink($path_to_gal.$deletepic[’filename’]);
The picture is deleted in MaxiGallery table but no file nor folder is deleted
hmm .. im getting a parse error with this!
can anyone help?
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Unknown(/home2/zombie/public_html/redemptionDEV/assets/snippets/maxigallery/maxigallery.php): failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: /home2/zombie/public_html/redemptionDEV/manager/includes/document.parser.class.inc.php(733) : eval()’d code
Line: 606
Parser timing
MySQL: 0.0062 s (4 Requests)
PHP: 0.0737 s
Total: 0.0799 s
Everytime you use Flash ... a puppy dies .....
R.G Taylor
Quote from: Soda at Nov 22, 2006, 01:58 AM
Error: unlink(assets/galleries/46/) [function.unlink]: Is a directory
Hmm... a directory... that’s weird. So does this come in every gallery with all snippet calls or just with a specific snippet call..? and what’s the call? Also, did you remove all pictures from the gallery at that time?
Quote from: Lizard at Nov 22, 2006, 05:22 AM
hmm .. im getting a parse error with this!
Did you copy all files to correct folders? if you just upload the assets folder found in the download archive, it should copy all files to right places...
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
I did mate .. checked and double checked!
Everytime you use Flash ... a puppy dies .....
R.G Taylor
Well, the error says it cannot find the file /home2/zombie/public_html/redemptionDEV/assets/snippets/maxigallery/maxigallery.php, so you are absolutely sure that the file is in place? And check that all folders have the same case, so not MaxiGallery but maxigallery, etc. If that file is there, I don’t know what to say.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
ok zi sorted that problem! (i had created a snippets/maxigallery inside snippets! DOh!
now im ghetting this tho!
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: move_uploaded_file(): Unable to move ’/tmp/phpxKhLLy’ to ’assets/galleries/12/294_filename.jpg’
Error type/ Nr.: Warning - 2
File: /home2/zombie/public_html/redemptionDEV/assets/snippets/maxigallery/maxigallery.php
Line: 254
Line 254 source: move_uploaded_file( $_FILES[’file’.$i][’tmp_name’] , $path_to_gal.$name );
Parser timing
MySQL: 0.0064 s (7 Requests)
PHP: 0.0579 s
Total: 0.0643 s
ive set folder permissions on galleries to 777!
Everytime you use Flash ... a puppy dies .....
R.G Taylor
To be sure I deleted all table, gallery and files and it works ok.
His webspace quota had exceeded, it’s working now, kind of.. What about your problem soda? Did you get it resolved?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Quote from: Soda at Nov 23, 2006, 01:36 AM
Can you tell me if the integration of MaxiGallerySolo is planned quickly, if not I will trying an other solution, and don’t waiting for it.
It won’t happen very soon I’m afraid.. I’m on a work trip until the end of the year, or actually, maybe mid january next year... and I have to put in very long days at work currently, so I won’t be doing any coding for a while at my freetime.. I did install eclipse to my laptop already, but don’t feel like starting it..

Sorry.
I will do updates when I feel like it, but the pace won’t be what it was few weeks ago..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."