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.3 RN Issues
Author Message
flid
Hangin' Around



Joined: Dec 26, 2005
Posts: 45

PostPosted: Sat Jan 10, 2009 2:30 pm Reply with quote

I have recently upgraded to 2.3. Everything is working fine except downloads. I cant add any new downloads to the database via the admin panel. When I try it looks like it has uploaded, but then when I go to downloads there is nothing there. So far I have had to add the downloads directly to the database via mysql admin panel.

I have searched the forum and couldn't see any answers to this.
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sat Jan 10, 2009 2:52 pm Reply with quote

Go into rnconfig.php and find $error_reporting.

Set it to $error_reporting = E_ALL;

Then see if you get any errors when adding a download.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
flid







PostPosted: Sat Jan 10, 2009 3:03 pm Reply with quote

No errors just said New Download added, but still nothing
 
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sat Jan 10, 2009 6:41 pm Reply with quote

I just tried it and it works.I suppose somethin is wrong with your path or download name or whatever. Check the status of your download in the administration.


Last edited by Susann on Sat Jan 10, 2009 6:44 pm; edited 1 time in total 
View user's profile Send private message
flid







PostPosted: Sat Jan 10, 2009 6:43 pm Reply with quote

nope nothing wrong with the file path...even if it was it would normally add the download, just when you tried to download it there would be no file
 
Susann







PostPosted: Sat Jan 10, 2009 6:55 pm Reply with quote

Do you have many subcategories and downloads ? There was one entry about a similar issue but I can´t find it again.
 
flid







PostPosted: Sat Jan 10, 2009 6:56 pm Reply with quote

yes i have sub categories and there are a few
 
Palbin







PostPosted: Sat Jan 10, 2009 7:29 pm Reply with quote

Is this a fresh install or an upgrade.
 
flid







PostPosted: Sat Jan 10, 2009 7:32 pm Reply with quote

an upgrade
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sun Jan 11, 2009 7:53 am Reply with quote

Just thought I would check, is error reporting turned on in the config.php file as well?
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun Jan 11, 2009 8:31 am Reply with quote

flid, the core RavenNuke(tm) Download module does not have a file upload capability, so when you say "upload" we need to understand what you really mean, OR, are you talking about a different Download module than what came with the distro?

The core provided module requires you to manually FTP the file to a specific directory and then when you add the download to the database, you give it the appropriate path to that uploaded file.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
flid







PostPosted: Sun Jan 11, 2009 9:37 am Reply with quote

ok i'll expalin

I upload files and images via ftp to my server.
then i go into my site admin and go to the downloads admin section and fill in all the information to add a new download. ie file path, name etc, then i click the button to add it to the database, but its not there.
 
jakec







PostPosted: Sun Jan 11, 2009 11:21 am Reply with quote

and error reporting in the config.php file is turned on?
 
flid







PostPosted: Sun Jan 11, 2009 11:31 am Reply with quote

yup
 
jakec







PostPosted: Sun Jan 11, 2009 12:07 pm Reply with quote

What happens when you try to add a download as a user?
 
flid







PostPosted: Sun Jan 11, 2009 1:26 pm Reply with quote

there is no option to add a download via member section.,.....and also no place to turn on the function
 
Susann







PostPosted: Sun Jan 11, 2009 1:35 pm Reply with quote

Sure you need to check the file d_cofing.php

Did youe ever tried to use an other folder or an other category to upload your downloads ?
What is with your downloads administration and there

"Check ALL Downloads" is the path correct or broken ?


Last edited by Susann on Sun Jan 11, 2009 1:35 pm; edited 1 time in total 
jakec







PostPosted: Sun Jan 11, 2009 1:35 pm Reply with quote

Sorry getting confused with Web Links.
 
jakec







PostPosted: Sun Jan 11, 2009 1:37 pm Reply with quote

and then Susann proves me wrong. Laughing
 
Susann







PostPosted: Sun Jan 11, 2009 1:37 pm Reply with quote

"$user_adddownload: Used to show the "Add Download" link (1=Show 0=Do not show)"

in modules/Downloads/d_config.php
 
flid







PostPosted: Sun Jan 11, 2009 3:02 pm Reply with quote

Susann wrote:
"$user_adddownload: Used to show the "Add Download" link (1=Show 0=Do not show)"

in modules/Downloads/d_config.php


Right I did this and the add download function appeared in the downloads area. I tried submitting a download myself and it came up and said thank you for your download etc.

Its not in the area to accept it by the admin, nor is it in the downloads area itself.

It just seems as if its not adding it to the database :S
 
jakec







PostPosted: Sun Jan 11, 2009 3:08 pm Reply with quote

Please can you turn on database logging in rnconfig.php and make sure that the dblog file in rnlogs is made writable.
 
flid







PostPosted: Sun Jan 11, 2009 3:11 pm Reply with quote

sorry to sound like a total idiot, but how do I do that?
 
jakec







PostPosted: Sun Jan 11, 2009 3:14 pm Reply with quote

In rnconfig.php find $loglevel = 0; and set it to 1.

Then find the dblog file in the rnlogs directory and set it's properties to 777.
 
flid







PostPosted: Fri Jan 16, 2009 5:25 am Reply with quote

Ok I did the above, but nothing has changed.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 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 ©