Rank: Newbie
Groups: Member
Joined: 1/9/2010(UTC) Posts: 5
|
With Joomla and Virtuemart, the component Aurigma Photo Order creates a new folder in the "Upload" folder with permission 755. The pictures can not upload this folder with the function pre upload.
If you change the rights to 777 this works.
How to change the default permissions.
Thank's
Philippe Dougoud
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hi Phillipe, Please go to administrator/components/com_aurigmaphotoorder/classes/, and open aurigmaphotoorder.php file. Then find the handleUpload method, and put this line to the beginning of it: Code: $ Oldumask = umask (0000);
The line: should stay in the end of the method. Try this way, and please let me know about the result. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 1/9/2010(UTC) Posts: 5
|
The new code of aurigmaphotoorder.php, function handleUpload() is : global $mainframe; $fileCount = JRequest::getVar('FileCount', 0, 'POST'); $Oldumask = umask(0000); ... .... .... umask($Oldumask); } The folder created has permission 0777. Thank's Best regards. Philippe Dogoud Edited by user Monday, November 15, 2010 7:24:48 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hi Phillipe,
I am glad that the problem has been resolved.
Please let me know if you have any additional questions or problems. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 1/9/2010(UTC) Posts: 5
|
Hello,
The problem is the same with the function processOrder($order_id). I made the same changes. I'm still doing tests and will let you know
Best regards Ph. Dougoud
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.