Author |
Message |
flid
Hangin' Around

Joined: Dec 26, 2005
Posts: 45
|
Posted:
Sat Jan 10, 2009 2:30 pm |
|
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. |
|
|
|
 |
Palbin
Site Admin

Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Jan 10, 2009 2:52 pm |
|
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. |
|
|
 |
flid

|
Posted:
Sat Jan 10, 2009 3:03 pm |
|
No errors just said New Download added, but still nothing |
|
|
|
 |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Sat Jan 10, 2009 6:41 pm |
|
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 |
|
|
 |
flid

|
Posted:
Sat Jan 10, 2009 6:43 pm |
|
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

|
Posted:
Sat Jan 10, 2009 6:55 pm |
|
Do you have many subcategories and downloads ? There was one entry about a similar issue but I can´t find it again. |
|
|
|
 |
flid

|
Posted:
Sat Jan 10, 2009 6:56 pm |
|
yes i have sub categories and there are a few |
|
|
|
 |
Palbin

|
Posted:
Sat Jan 10, 2009 7:29 pm |
|
Is this a fresh install or an upgrade. |
|
|
|
 |
flid

|
Posted:
Sat Jan 10, 2009 7:32 pm |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Sun Jan 11, 2009 7:53 am |
|
Just thought I would check, is error reporting turned on in the config.php file as well? |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Jan 11, 2009 8:31 am |
|
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. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
flid

|
Posted:
Sun Jan 11, 2009 9:37 am |
|
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

|
Posted:
Sun Jan 11, 2009 11:21 am |
|
and error reporting in the config.php file is turned on? |
|
|
|
 |
flid

|
Posted:
Sun Jan 11, 2009 11:31 am |
|
|
|
 |
jakec

|
Posted:
Sun Jan 11, 2009 12:07 pm |
|
What happens when you try to add a download as a user? |
|
|
|
 |
flid

|
Posted:
Sun Jan 11, 2009 1:26 pm |
|
there is no option to add a download via member section.,.....and also no place to turn on the function |
|
|
|
 |
Susann

|
Posted:
Sun Jan 11, 2009 1:35 pm |
|
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

|
Posted:
Sun Jan 11, 2009 1:35 pm |
|
Sorry getting confused with Web Links. |
|
|
|
 |
jakec

|
Posted:
Sun Jan 11, 2009 1:37 pm |
|
and then Susann proves me wrong.  |
|
|
|
 |
Susann

|
Posted:
Sun Jan 11, 2009 1:37 pm |
|
"$user_adddownload: Used to show the "Add Download" link (1=Show 0=Do not show)"
in modules/Downloads/d_config.php |
|
|
|
 |
flid

|
Posted:
Sun Jan 11, 2009 3:02 pm |
|
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

|
Posted:
Sun Jan 11, 2009 3:08 pm |
|
Please can you turn on database logging in rnconfig.php and make sure that the dblog file in rnlogs is made writable. |
|
|
|
 |
flid

|
Posted:
Sun Jan 11, 2009 3:11 pm |
|
sorry to sound like a total idiot, but how do I do that? |
|
|
|
 |
jakec

|
Posted:
Sun Jan 11, 2009 3:14 pm |
|
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

|
Posted:
Fri Jan 16, 2009 5:25 am |
|
Ok I did the above, but nothing has changed. |
|
|
|
 |
|