- Posts: 12
COMMUNITY FORUM
warning - failed loading XML
- Mitzi Gilbert
- Topic Author
- Offline
- New Member
When I turn on the module - I still get the warning message and the there is nothing coming from the feed (blank space).
Any other suggestions? My site is: www.laortho.org/ (note that I turned off the RSS Feed Reader for now until I can fix this).
thanks for your help
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
Can you configure the module in some internal/hidden page and temporarily set error reporting to maximum in Joomla's Global Configuration?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mitzi Gilbert
- Topic Author
- Offline
- New Member
- Posts: 12
Notice: Undefined offset: 1 in /home/customer/www/laortho.org/public_html/templates/laoi7/library/Artx/Content/SingleArticle.php on line 95
In the module the error message is: Warning: Parameter 2 to modChrome_artblock() expected to be a reference, value given in /home/customer/www/laortho.org/public_html/templates/laoi7/html/modules.php on line 39
Warning: Parameter 3 to modChrome_artblock() expected to be a reference, value given in /home/customer/www/laortho.org/public_html/templates/laoi7/html/modules.php on line 39
Here is the warning on the right Module - the module title does appear.
LAOI News
Warning: Invalid argument supplied for foreach() in /home/customer/www/laortho.org/public_html/modules/mod_jw_srfr/tmpl/default/default.php on line 35
thanks
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
As for the warnings, all relate to something else (mostly in the template) and the last one (which is from our module) occurs because there is no data to render. I'll put a check there so these warnings don't come up in any case.
The issue remains though that retrieving external content is blocked on your host - and believe on this, SRFR has all the possible methods to retrieve feeds remotely, but it can't bypass server-level restrictions.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mitzi Gilbert
- Topic Author
- Offline
- New Member
- Posts: 12
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
Do let us know what happens. It might be useful to other SiteGround users in the future... ;)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mitzi Gilbert
- Topic Author
- Offline
- New Member
- Posts: 12
So here is their reply:
"I would suggest that you consult with the developer whether the feed requires a specific port to be open for outgoing connections towards the IP of laortho.wordpress.com."
Note that I checked my Sophos computer protection and did not find anything that was blocked there.
What are your thoughts?
Thanks,
Mitzi
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
It's a feed parsing module. You just throw a URL in it and it fetches that URL. It's as simple as it gets. As I mentioned already, I tested that feed and it was fetched just fine.
If SiteGround does not block allow_url_fopen, then you may have some PHP override in the form of a php.ini or .user.ini file, or even inside your .htaccess file (presumably from a previous host). Additionally, check that the "FTP layer" is not enabled in your Joomla site's Global Configuration settings.
In any case, to test things out, simply create a test.php file in your site's root and add this code in:
<?php
if (ini_get('allow_url_fopen')) {
echo 'allow_url_fopen is enabled';
} else {
echo 'allow_url_fopen is disabled';
}
Then call this /test.php file in your browser to see what it outputs.
Let me know.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mitzi Gilbert
- Topic Author
- Offline
- New Member
- Posts: 12
I created a file in the site's root called test.php - and then copied your code in that file.
I then typed in the browser www.laortho.org/test.php and got a 403 Forbidden page.
I do use Admin Tools, but there has never been an issue with the RSS Reader.
New idea?
thanks!
Please Log in or Create an account to join the conversation.
- Mitzi Gilbert
- Topic Author
- Offline
- New Member
- Posts: 12
After uploading the module, I checked on the module settings and the message was "module XML data not available".
So this issue is not unique to: www.laortho.org/
I clearly see that something is blocking this access. Any other thoughts?
Please Log in or Create an account to join the conversation.
- Mitzi Gilbert
- Topic Author
- Offline
- New Member
- Posts: 12
Should I look for something specific in the .htaccess file?
Thank you
Please Log in or Create an account to join the conversation.
- Mitzi Gilbert
- Topic Author
- Offline
- New Member
- Posts: 12
Please read my string of replies from your last comment. I was wondering if I should edit the .htaccess file? If so, can you tell me what to look for and how to edit?
thank you!
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
Look in .htaccess, php.ini or .user.ini files.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.