Getting a lot of these errors -- any ideas?
http://www.rranderson.com/dvd/index.php
8: Use of undefined constant r - assumed 'r'
File: D:\RRAnderson\DVD\Sources\TPortal.php
Line: 999
When you used the RSS function/block..did it work alright? or did it show nothing? The error is related to that.
rss is working great ;D
Hm. Strange then. I will have to see it its pops up with me too.
Is it many errors? like..every page view where the rss feed is shown?
Seems just when I click on the rss box to read the news
i tried to mess around with the rss block and when i activated the block it messed up the forums totally, count not see any posts/topics or even the admin section, i had to go into phpmyadmin and disable the block.
the error on the page:
2: fopen(-no content-): failed to open stream: No such file or directory
File: smf\forums\Sources\TPortal.php
Line: 999
could you explain how the rss block, what url must go into RSS feed for it to work?.
It needs a xml file or a physical file that can be read. So if the file don't exist, you get that error. This block type is unfinshed, I need to add checks and cache options too. But make sure the path points to a really working feed.
I am using http://rss.cnn.com/rss/cnn_topstories.rss as the feed -- just put this link in and the block will do the rest
Hm, it exists, thats for sure.
Getting this error on every thing I or guest does on the site -- anything I can change??
Open up Tportal.php..find this line:
// Open the actual datafile:
$fp = fopen($backend, r);
replace with:
// Open the actual datafile:
$fp = fopen($backend, "r");
Does that change anything?
Will try it when I get home BLoc -- Thanks
Bloc you are good
"r" seem to fix it thanks again
Good to hear. This goes into the files as well.