Warning errors

More
7 years 10 months ago #33435 by nordmograph
Warning errors was created by nordmograph
Hi

Can you provide a sample bandcamp url of a removed album ?

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #33451 by hot-tubes
Replied by hot-tubes on topic Warning errors
Hi
I can't see my last post to compare the error code, but I think I have the same error if I put a bad link. For example, I put a wrong album URL and I have this error :
Warning: file_get_contents( bigtomatorecords.bandcamp.com/album/passenger-per ): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/bigtomatik/www/plugins/content/bandcamp/bandcamp.php on line 177
For information, this morning again it was working well, but a few minutes later it wasn't, and it became good again later... That's strange because our LP on bandcamp are always online.
Thanks

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #33452 by hot-tubes
Replied by hot-tubes on topic Warning errors
It is not working again... and I have a 403 error :
Warning: file_get_contents( bigtomatorecords.bandcamp.com/album/passenger-peru ): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/bigtomatik/www/plugins/content/bandcamp/bandcamp.php on line 177

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #33453 by nordmograph
Replied by nordmograph on topic Warning errors
Can you open line 183 and add a @ before $data:
(@$data

Are you loading some soundcloud on the same page ?
What is your version number ?

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #33454 by hot-tubes
Replied by hot-tubes on topic Warning errors
Nothing changed... I add @ at line 180, maybe it's not the good place :
protected function _loadBANDCAMP($url,$bc_size,$bc_linkcol,$bc_notracklist)
{
if ($data = file_get_contents($url) )
{
$html = new DOMDocument();
@$html->loadHTML(@$data);
$meta_tw_player = null;
$meta_tw_player_width = null;
$meta_tw_player_height = null;
foreach($html->getElementsByTagName('meta') as $meta)

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #33455 by hot-tubes
Replied by hot-tubes on topic Warning errors
No soundcloud at this page. I'm up to date with Joomla 3.5.1

Please Log in or Create an account to join the conversation.

Time to create page: 0.343 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.