OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

MediaLibary Component Support

Go to bottom Favoured: 0

Price format

Gremko (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Price format 6 Years, 6 Months ago
Karma: 0  
OK thanks.

is it possible with Media Library to set a delay of the query?
if so, could you give me a tip so i can do that?

greeting
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:Price format 6 Years, 6 Months ago
Karma: 102  
Hello

Delay this are you. Please are pressing "fetch info" not so often

Regards
Andrew
Logged Logged
The administrator has disabled public write access.
Gremko (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Price format 6 Years, 6 Months ago
Karma: 0  
I think they misunderstood me.
If the product prices are not up to date, I have to update this manually.
as in the picture.
after clicking on (retrieve information again) the error comes:

"Sorry, AWS Access Key ID: ************************ .You are submitting requests too quickly. Please retry your requests at a slower rate."
Logged Logged
Last Edit: 2018/05/17 06:40 By Gremko.
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:Price format 6 Years, 6 Months ago
Karma: 102  
Most simply for all, if you will select Update for 5 or less items.

Now if we will start add some delay, this may cause some not expect errors.

But if you any way need add some delay

Please open file

Find rows
//fetching information
$infos = array();
$media_id = array_pop($bid);
while ($media_id != null) {
$media = new mosMediaLibrary($database);


and replace to rows
//fetching information
$infos = array();
$media_id = array_pop($bid);
while ($media_id != null) {
$media = new mosMediaLibrary($database);
sleep(10);


Please backup file first

Regards
Andrew
Logged Logged
The administrator has disabled public write access.
Gremko (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Price format 6 Years, 6 Months ago
Karma: 0  
Thank you,

That's exactly what I was looking for.

greeting
Logged Logged
The administrator has disabled public write access.
Go to top
»