OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
MediaLibary Component Support
Go to bottom Favoured: 0
TOPIC: Price format
#38058
Gremko (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Price format 3 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.
#38061
admin (Admin)
Admin
Posts: 5810
graph
User Offline Click here to see the profile of this user
Re:Price format 3 Months ago Karma: 68  
Hello

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

Regards
Andrew
 
Logged Logged  
  The administrator has disabled public write access.
#38073
Gremko (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Price format 2 Months, 4 Weeks 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.
#38077
admin (Admin)
Admin
Posts: 5810
graph
User Offline Click here to see the profile of this user
Re:Price format 2 Months, 4 Weeks ago Karma: 68  
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.
#38081
Gremko (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Price format 2 Months, 4 Weeks 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
What are you looking for?
Anti-spam question: How many eyes has a typical person?