READ ME
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAnnouncements
Author Message
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: READ ME
Posted: Mon Apr 21, 2008 1:37 pm
Reply with quote

If you are using DownloadsPro, please open
modules/Downloads/include/friend.inc and make sure you have

Code:
<?php
exit;

this will prevent the module to be used as spam vector.


EDIT: Please do not post in this thread, acknowledgeing you have updated (unless your having a problem with the update) or "thanks for the update" it causes the thread to become very long and important questions may be missed. --Admin

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
a_silva
Newbie


Joined: Jul 21, 2006
Posts: 28
Location: Uppsala / Sweden

PostPost subject: Re: READ ME
Posted: Mon Apr 21, 2008 2:05 pm
Reply with quote

These instructions are quite unclear, considering the importance.

I have on row 16:

Code:
if (!defined('CPG_NUKE')) { exit; }

Is that enough? Or where is the exit; supposed to be?


a_silva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
xp/1.3.36Unix/MySQL4.1.19Standard/4.4.2/9.1.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: READ ME
Posted: Mon Apr 21, 2008 2:09 pm
Reply with quote

at line 2
_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
Moparmaniac
Nice poster


Joined: Mar 17, 2005
Posts: 130
Location: Solna, Sweden

PostPost subject: Re: READ ME
Posted: Mon Apr 21, 2008 3:04 pm
Reply with quote

Versions please?
I have Revision: 1.1, and no code at lines 2 to 16.

Line #1
Code:
<?php

Line 17
Code:
if (!defined('CPG_NUKE')) { exit; }


Moparmaniac's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux makalu 2.6.17-1-686 / MySQL 4.1.21-standard-log / PHP 4.4.7 / CMS 9.0.5.0 / GD Version bundled (2.0.28 compatible)
Back to top
View user's profile Visit poster's website
Moparmaniac
Nice poster


Joined: Mar 17, 2005
Posts: 130
Location: Solna, Sweden

PostPost subject: Re: READ ME
Posted: Mon Apr 21, 2008 3:08 pm
Reply with quote

Idea

Should we edit the code I mentioned to look like your example?
No mather what it looked like before?

( took a while getting there Rolling Eyes )


Moparmaniac's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux makalu 2.6.17-1-686 / MySQL 4.1.21-standard-log / PHP 4.4.7 / CMS 9.0.5.0 / GD Version bundled (2.0.28 compatible)
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: READ ME
Posted: Mon Apr 21, 2008 3:12 pm
Reply with quote

Code:
<?php
exit;
/******************************************************
  Downloads Pro: Designed exclusively for Dragonfly CMS

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
Xaarn
Newbie


Joined: Jun 06, 2007
Posts: 4

PostPost subject: Re: READ ME
Posted: Mon Apr 21, 2008 3:16 pm
Reply with quote

I don't know any details about the problem, but to turn this file off completely insert

exit;

right after the <?php tag on the first line. I'd recommend doing that until we get more details about what the issue is.


Xaarn's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.0.63/MySQL 5.0.81/PHP 5.2.6/Dragonfly 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: READ ME
Posted: Mon Apr 21, 2008 3:27 pm
Reply with quote

The detail is already there - what more do you want? Spam means spam.

The main download has been updated to remove the link altogether and no, we are not going to add captcha - the link is gone permanently.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
FSHSchmo
Newbie


Joined: Sep 06, 2006
Posts: 33

PostPost subject: Re: READ ME
Posted: Tue Apr 22, 2008 12:23 am
Reply with quote

Phoenix wrote:
hmm, if you update to the latest version, there is no need to make a change.

Opps. I got an email saying that I should come to this thread and so I did. Should I take out the new addition to the file?


FSHSchmo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Redhat/2.0.50/4.1.21/4.4.7/9.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: READ ME
Posted: Tue Apr 22, 2008 12:31 am
Reply with quote

The latest version (3.0.0.15) doesn't have the file and the menu link is also removed.

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Mel
Forum Admin


Joined: Jul 21, 2004
Posts: 1395
Location: Eastern Time Zone

PostPost subject: Re: READ ME
Posted: Tue Apr 22, 2008 11:01 pm
Reply with quote

NanoCaiordo wrote:


Please do not post in this thread, acknowledgeing you have updated (unless your having a problem with the update) or "thanks for the update" it causes the thread to become very long and important questions may be missed. --Admin

Notice:
Edit added to original post and acknowledgment posts removed.

_________________
DF TIPS | Upgrade| Find Your Signature Specs|
"A bug in the code is worth two in the documentation. "


Mel's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
jumpstart
Newbie


Joined: Sep 14, 2004
Posts: 13
Location: Australia

PostPost subject: Re: READ ME
Posted: Sun Apr 27, 2008 3:32 am
Reply with quote

I know this may seem like a dumb question but should we also make the code correction tion for the non-Pro version (the plain vanilla 'Downloads' module)?

jumpstart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 1.3.33/MMySQL 4.1.14/PHP 4.4.2/Dragonfly CMS 9.0.6.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAnnouncements All times are GMT
Page 1 of 1


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
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.4958 seconds with 16 DB Queries in 0.2288 seconds
Memory Usage: 2.98 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy