scriptigniter

scriptigniter supports this item

Supported

29 comments found.

I am planning to use the uploaded_file_to_s3_manually() function to be able to upload resized images. Is it possible to upload multiple files to S3 from a single upload? E.g., 40×40, 360×200, 960×480, 2400×1600 to deliver <photo> sets. Is it possible to run the resize and upload functions multiple times to accomplish this without making the user upload the same photo several times?

User do not need to upload multiple times, you can use available resize method to resize but to upload to S3 you can upload only one file at a time, so you can have all available size files in server folder and then in a loop call this manual upload method to upload files, suggest you to add 100ms delay between each Call to reduce the chanches of failure.

Thanks

User do not need to upload multiple times, you can use available resize method to resize but to upload to S3 you can upload only one file at a time, so you can have all available size files in server folder and then in a loop call this manual upload method to upload files, suggest you to add 100ms delay between each Call to reduce the chanches of failure.

Thanks

Thank you! I’ll give that a try.

vloryan

vloryan Purchased

hi, do you still offer free support on this?

Yes, comment or message to me about your problem.

Does this script work with Laravel?

No this does not work.

Hi, I am interested in your module and thinking to buy it if it fits for the Prestashop v1.6. Did you check the module with Prestashop v1.6. Do we need additional modifications on prestashop files such as image directories or something like that. Could you please send some instructions about how we can use this module with Prestashop?

I did not tested this with Prestashop, but this is core php and can be used in any framework/CMS as long as you can follow the pattern of that.

Your live preview is broken :(

It goes to a blank screen after I enter the key and database information. It gets stuck on install.php and doesn’t write to the config file. I’m on Linux 14.04

Probably you do not have write permission to write into config file. You can avoid automatic setup while can edit the config file manually. That will be easy and straight forward. Please send me message with detail if you still face any issue.

I have emailed you with the following error when running the demo.

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\phps3demo\phps3integration_config.php on line 28

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\phps3demo\upload_file.php on line 7

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\phps3demo\phps3integration_lib.php on line 325

Notice: Use of undefined constant CURLOPT_CLOSEPOLICY – assumed ‘CURLOPT_CLOSEPOLICY’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Notice: Use of undefined constant CURLCLOSEPOLICY_LEAST_RECENTLY_USED – assumed ‘CURLCLOSEPOLICY_LEAST_RECENTLY_USED’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Warning: curl_setopt() expects parameter 2 to be long, string given in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Notice: Use of undefined constant CURLOPT_CLOSEPOLICY – assumed ‘CURLOPT_CLOSEPOLICY’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Notice: Use of undefined constant CURLCLOSEPOLICY_LEAST_RECENTLY_USED – assumed ‘CURLCLOSEPOLICY_LEAST_RECENTLY_USED’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Warning: curl_setopt() expects parameter 2 to be long, string given in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Notice: Use of undefined constant CURLOPT_CLOSEPOLICY – assumed ‘CURLOPT_CLOSEPOLICY’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Notice: Use of undefined constant CURLCLOSEPOLICY_LEAST_RECENTLY_USED – assumed ‘CURLCLOSEPOLICY_LEAST_RECENTLY_USED’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Warning: curl_setopt() expects parameter 2 to be long, string given in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Notice: Use of undefined constant CURLOPT_CLOSEPOLICY – assumed ‘CURLOPT_CLOSEPOLICY’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Notice: Use of undefined constant CURLCLOSEPOLICY_LEAST_RECENTLY_USED – assumed ‘CURLCLOSEPOLICY_LEAST_RECENTLY_USED’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Warning: curl_setopt() expects parameter 2 to be long, string given in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Notice: Use of undefined constant CURLOPT_CLOSEPOLICY – assumed ‘CURLOPT_CLOSEPOLICY’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Notice: Use of undefined constant CURLCLOSEPOLICY_LEAST_RECENTLY_USED – assumed ‘CURLCLOSEPOLICY_LEAST_RECENTLY_USED’ in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Warning: curl_setopt() expects parameter 2 to be long, string given in C:\xampp\htdocs\phps3demo\awssdk\lib\requestcore\requestcore.class.php on line 610

Please advise on how to overcome all this error.

Thank you.

U have not updated to the latest version of php and aws sdk ?

Hi, It seems you are using PHP7 and mysql_connect is not being supported in that. Please refer this url to use mysqli. http://www.w3schools.com/php/php_mysql_insert.asp

And yes script is not tested with PHP 7 now.

Hello,

I can’t seem to upload more than 5 MB files. I tried with the copy file to S3 demo. A 3 Mb PDF works, a 26 Mb PDF doesn’t work. Any idea why?

We are using a fast dedicated server.

Please check PHP max upload limit, it must be a limit issue.

ht1080z

ht1080z Purchased

Hi, preview seems to be broken again. Any other link where i can check a working sample? Anyway, i search for a solution where i can upload to S3 via PHP and/or javascript and after store the filenames to mysql db into my custom CMS. Can i do this with your Integration Library?

by
by
by
by
by
by