Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Read More... Fix Problem

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
TJ

Beginner
Beginner


Joined: Jun 13, 2003
Posts: 3

PostPosted: Fri Jun 13, 2003 11:35 am    Post subject: Read More... Fix Problem Reply with quote

Hi, I've been trying to implement this fix but get the error:

Warning: Unknown modifier 'l' in /home/user/public_html/mainfile.php on line 849

I'm not sure how to fix it, any assistance appreciated.

Thanks,

TJ
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Read More... Fix Problem  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Sun Jun 15, 2003 7:36 pm    Post subject: Reply with quote

what's the text on that line of your mainfile.php? if you're using phpnuke 6.5, i can email you my mainfile.php file.
Back to top
Offline View user's profile Send private message Visit poster's website
TJ

Beginner
Beginner


Joined: Jun 13, 2003
Posts: 3

PostPosted: Mon Jun 16, 2003 12:11 am    Post subject: Reply with quote

Hi dari,

In fact I just copied the script straight from the posting on this subject. Anyway I'll PM you with my e-mail address, if you could send you file that would be great.

Thanks,

TJ.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Mon Jun 16, 2003 7:37 am    Post subject: Reply with quote

ok, well here's the deal:
the code that i pasted on the page was correct as i pasted it, HOWEVER....PHP parses stuff like slashes and backslashes funny, and it resulted in some critical things being removed (and no matter how many times I tried to fix it, nothing worked.). So, what I will do is take a screenshot of the code and post it as an image in the article, instead of straight text on the page. The downside is that you won't be able to just copy and paste, but at least it will be correct. I may post the lines, with instructions, as a download, as well.
Back to top
Offline View user's profile Send private message Visit poster's website
TJ

Beginner
Beginner


Joined: Jun 13, 2003
Posts: 3

PostPosted: Sat Jun 21, 2003 10:30 pm    Post subject: Reply with quote

Dari,

Thanks very much for the e-mail, I got round to using your code today and the error has gone. However I'm not sure if the result is the expected one, as the 'Read More...' links now just refer back to my home page (which is still better than the root XML server!). Could you take a look at www.asiansecurityweb.com and let me know if something is wrong?

TJ
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Mon Jun 23, 2003 8:07 am    Post subject: Reply with quote

hmmm...
the way the code is written, it takes the value from the "link" section of the channel header code:
Code: › ---rdf about and title stuff here---
<link>http://cnn.com/money//</link>
.
In this case it would return http://cnn.com/money/.

I'm looking at the source for your web page and have found that the link to the read more shows as follows:
Code: › <a href="" target="blank"><b>read more...</b></a>


That means that the XML feed format from your source is different from the perl/PHP script that is generated by the scripts available here. If you send me a sample XML file from them, I can tailor the couple of lines to your needs.
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filterWorld Meds Direct

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia