Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
rrclansite
Regular
Regular



Joined: Jan 18, 2011
Posts: 86

PostPosted: Mon Mar 28, 2011 3:37 pm Reply with quote

is this what you are looking for?

because this is what i get whenever i try to make download links:

Page Not Found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please try the following:

* If you typed the page address in the Address bar, make sure that it is spelled correctly.
* Click the Back button in your browser to try another link.
* Use a search engine like Google to look for information on the Internet.

dunno if that helps... otherwise tell me what you are looking for Smile

best regards
rrclansite
 
View user's profile Send private message
rrclansite







PostPosted: Thu Mar 31, 2011 5:14 am Reply with quote

i'm not making any sense here am i?

rofl @ my noobness Sad
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Thu Mar 31, 2011 5:25 am Reply with quote

It sounds like either something was deleted or permissions are wrong. Try to reupload the module making sure to change the config file '_check4htaccess' => false,

Also make sure the files and folders have the correct permissions. If your other folders are 755, make sure those are too. Files should be 644.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
rrclansite







PostPosted: Thu Mar 31, 2011 11:15 am Reply with quote

so in other words:

upload Downloads2 towards:
root/modules/

CHMOD Downloads2 folder 755
CHMOD files uploaded 644?
 
nuken







PostPosted: Thu Mar 31, 2011 11:27 am Reply with quote

Yes. The files and folders should already have those permissions once uploaded. Double check to make sure...
 
rrclansite







PostPosted: Mon Apr 04, 2011 1:42 pm Reply with quote

ok so my modules/downloads2 folder is CHMOD 755 aswell as the KCfinder

KCfinder apparentely has problems with the upload thingy because whenever i try to upload something with 11.1 MiB it says: unknown error.

what i did next: FTP my Movie config for cod4 in a .rar extension towards: modules/downloads2/kcfinder/files/

file permission was 644
so i activated the kcfinder again to add a new download, could find the uploaded .rar file. All good we happy, but when i try to download my actual file we get:

404 error, page not found...

so perhaps i'm still doing something wrong?
your help is much appreciated

best regards,
rrclansite
 
nuken







PostPosted: Mon Apr 04, 2011 3:07 pm Reply with quote

Here are the requirements for kcfinder to work. Make sure your server meets or exceeds these:

Compatibality

*KCFinder is tested on Apache 2 web server only. Probably it will works on other web servers. If your web server does not support .htaccess files, you should take care turning off script engine in the upload directory.

*Only PHP5 server-side scripting is supported. GD extension is required and safe mode should be off. To work with client-side HTTP cache, the PHP must be configured as Apache module.

*KCFinder supports Fileinfo PHP extension for MIME type detection of the files. If you decide to use this feature, you should load Fileinfo extension. PHP versions prior to 5.3 need to install Fileinfo PECL package.

*PHP ZIP extension should be loaded in order to have ability downloading multiple files and directories as single ZIP file.

*Browser side code requires modern browser supporting CSS3. KCFinder does not work in Internet Explorer 6. The only way to use KCFinder with Internet Explorer 6 is to install Google Chrome Frame ActiveX plugin.
 
rrclansite







PostPosted: Thu Apr 21, 2011 1:14 pm Reply with quote

i can't get it to work and thats frustrating me.

Ill try the regular download module instead with FTP-ing if somebody lets me know to which folder i should FTP the files for download. because i tried some, and none are working.

should i create a folder in my root? or should i create a folder in my download module?
Which CHMOD's should be applied to folders and which to files.

Do i need PHP5 on my server?
Do i need GD extension in order for it to work with FTP?

basically do i need everything Nuken has stated above? because if thats so ill need to contact my webhost to see if they have all of this available.

(yes i'm stepping away from the upload functionality here so i'm not going to use the KCfinder in order to make my downloads work, ill do it oldschool, but i'll need to know how oldschool works seeing as i can't get it to work...)


Hope i'm making any sense here whatsoever
Hope people can guide me into the right direction for using the REGULAR download module.

/e
Do i need any MODS installed on my website in order to make the download mudule work?

best regards,
rrclansite
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu Apr 21, 2011 2:55 pm Reply with quote

rrclansite wrote:
KCfinder apparentely has problems with the upload thingy because whenever i try to upload something with 11.1 MiB it says: unknown error.

This sounds more like a server limitation to me, either the server won't allow a file that size to be uploaded or it hits the script timeout and fails.

Quote:
what i did next: FTP my Movie config for cod4 in a .rar extension towards: modules/downloads2/kcfinder/files/
file permission was 644
so i activated the kcfinder again to add a new download, could find the uploaded .rar file. All good we happy, but when i try to download my actual file we get:

404 error, page not found...

so perhaps i'm still doing something wrong?
your help is much appreciated

best regards,
rrclansite


If you use your ftp software to find the file on the server, is it showing the correct file size?
Does the file name have any spaces or mixed upper/lowercase characters?
 
View user's profile Send private message Send e-mail
rrclansite







PostPosted: Fri Apr 22, 2011 5:12 am Reply with quote

ok i uploaded:

movie config by krava.rar --> modules/downloads2/kcfinder/files/

size was 11.604.792 in my computer
size was 11.604.792 on the server

name was: movie config by krava.rar

files folder has 755 chmod
the actual file has 644 chmod

i have no clue whatsoever what i'm doing wrong rofl Sad

thanks for your help in advance once more

best regards,
rrclansite
 
nuken







PostPosted: Fri Apr 22, 2011 5:33 am Reply with quote

Replace the spaces in the files name with underscores _ .
 
Guardian2003







PostPosted: Fri Apr 22, 2011 5:35 am Reply with quote

So the name of the file is
movie config by krava.rar and not krava.rar ?
If thats the case, that is your problem. You cannot have spaces in the file name because they will get urlencoded, which I believe is %20 so although you wont see it, the actual url to download that file would be
http://yoursite.com/modules/downloads2/kcfinder/files/movie%20config%20by%20krava.rar
 
rrclansite







PostPosted: Fri Apr 22, 2011 1:35 pm Reply with quote

when i try that %20 thing it wont work, ill try the underscore thing or just add it alltogether Wink

i'll keep you posted
 
rrclansite







PostPosted: Sat Apr 30, 2011 9:19 am Reply with quote

like i said, i'd keep you posted!

so here's my update:

My needs were:
1)No Third Party software involved to host my files which needed to be able for download (think of rapidshare / zShare, http://www.zshare.net/)
2) Preferably easy way to upload the files which needed to go towards a download (AKA upload feature in the Download module)

Results how i made my downloads module work.

1) Use FTP to transfer files up to your website / webhost
2) upload the files towards the following folder: www.yourdomain.com/uploads/file/
3) CHMOD your uploads folder 755
4) CHMODyour file folder 755
5) Files which need to go in your download section (for me that would be movieconfigbykrava.rar) need to have CHMOD 644 after uploading (should do it automatically, check to be sure)
6) to add a link to your download go: www.yourdomain.com/uploads/file/filename.rar
or go: www.yourdomain.com/uploads/file/filename.exe

and that about covers it

Hope people will have use for this post in the future
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©