OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: Refetch error
#528
SarahLH (Visitor)
Fresh Boarder
Posts: 7
graphgraph
User Offline
Refetch error 6 Years, 7 Months ago Karma: 0  
Hiya

I've just installed BookLibrary on a new site but refetch using amazon.co.uk webservice is making it freak out. I get the following error. Any thoughts much appreciated

Warning: simplexml_load_file(ecs.amazonaws.com/onca/xml?AWSAccessKeyI...j7lqzhiAoIwCZsFnI%3D) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 255

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "ecs.amazonaws.com/onca/xml?AWSAccessKeyI...iAoIwCZsFnI%3D" in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 255

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 262

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 267

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 278

Warning: Invalid argument supplied for foreach() in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 285

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 291

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 295

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 299

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 303

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/simonr/public_html/administrator/components/com_booklibrary/admin.booklibrary.class.ws.php on line 307

* Skip to content
* Skip to main navigation
* Skip to 1st column
* Skip to 2nd column
 
Logged Logged  
  The administrator has disabled public write access.
#529
admin (Admin)
Admin
Posts: 4856
graph
User Online Now Click here to see the profile of this user
Re:Refetch error 6 Years, 7 Months ago Karma: 61  
Please ask yours host provider set:

In php.ini
allow_url_fopen = On


Thanks
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#596
pprescott (Visitor)
Fresh Boarder
Posts: 2
graphgraph
User Offline
Re:Refetch error 6 Years, 7 Months ago Karma: 0  
Hi there.

I just purchased BookLibrary Pro, installed it, and am getting the same problem with trying to have the system fetch book info. I have tried fetching the data from Amazon.com and Amazon.ca with the same failure.

I checked the php.ini file that was on my webhost and it already had the line in it:

allow_url_fopen = On

(It was also not commented out so it should have been working.)

I copied the php.ini file and placed a copy of it in components/com_booklibrary but that didn't make any difference.

Any suggestions for how to get fetching book data to work?

Thanks.

Paul Prescott
 
Logged Logged  
 
Last Edit: 2010/02/17 18:19 By .
  The administrator has disabled public write access.
#597
SarahLH (Visitor)
Fresh Boarder
Posts: 7
graphgraph
User Offline
Re:Refetch error 6 Years, 7 Months ago Karma: 0  
Hi Paul

Check your AWS Access Key and Amazon Secret Key. I thought I had mine correctly but I replaced them with new ones from Amazon to check and it started working after that.

I think, although I am probably totally wrong, that the keys were updated so older ones don't work any more.

Good luck!

Sarah
 
Logged Logged  
  The administrator has disabled public write access.
#598
pprescott (Visitor)
Fresh Boarder
Posts: 2
graphgraph
User Offline
Re:Refetch error 6 Years, 7 Months ago Karma: 0  
Thanks Sarah -- that was the trick that fixed it! I guess I just had to make sure the backend setup included my correct Amazon AWSAccessKeyId and Amazon Secret Key.

It works like it should now.

; )

Paul
 
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?