i have it installed and most of it seems to be ok, but im having probs with adding a category/sub-category it lets me submit and admin/upload downloads and it downloads ok however i cannot add a category/sub-category it lets me add a category/sub-category in but it dont update in the db also when i turn on the security code setting it doesnot find the download can you help me with this i will be most gratefull
the site that the module is on is here http://www.codfiles.co.uk this site is
currently under construction and i realy need to get this module either working or i will have to remove it and i dont realy want to remove it , i like the module and would rather get it working.
Warrior aka Dre
Drek Private
Joined: Dec 16, 2005
Posts: 45
Posted:
Sat May 20, 2006 7:47 am
To install this module you need to start with a vanilla PHP-Nuke downloads module with no mods on it. The only thing I can suggest is that you back up your downloads tables, delete them, install the PHP-Nuke sql to a different database, then copy the downloads tables into your old database. Then try installing it again. For the security code to work you need to have the GD2 PHP extension installed, although there may be another problem with it because I have had other reports of a similar problem, but I thought I did test it. However, I have no way of testing this myself now so I can see if there is a problem and fix it, so I'm afraid unless someone else can help you, you are on your own.
warrior101 Nuke Cadet
Joined: May 17, 2006
Posts: 3
Posted:
Sat May 20, 2006 9:41 am
ehh im new to php and nuke what do you mean ((vanilla PHP-Nuke downloads module )) i started with a clean install of phpnuke 7.8 and then put all the module files in the correct directories and created the new directioies needed then i used the new_install_edl_21.php to install it and thats the errors im getting as far as i know there was no mods on at the time i tryed to install the module it was a defalt install of nuke 7.8
is it not just a case of getting hold of the sql files for the tables i need from a site that has the module working and importing them into the db ?
as far as the code goes ill just leave it off its set to only allow registered users only to DL
ok what i have done to get the categories in for my downloads is
looked at the php file for the new install and took note of what the table names were it was trying to edit then i went and made a backup of my db as sql inserts then i edited the table for the categories and added
INSERT INTO `nuke_downloads_categories` (`cid`, `title`, `cdescription`, `ldescription`, `parentid`, `ns_cat_note`) VALUES (1, 'Call Of Duty', '', NULL, 0, '');
in for each categorie i needed i now have the categories needed and its letting me add downloads to the categories , however this has not solved the probs with the module but it has let me put in all the categories in that i need ..
i will try and edit the tables in my db with the update info in the ns module install php
hopefully that will solve it
thanks for the help ill let you know how i get on
warrior aka Dre
Drek Private
Joined: Dec 16, 2005
Posts: 45
Posted:
Sun May 21, 2006 7:47 am
If I were you I would restart with an absolutely clean install of 7.8. That's what I meant by "vanilla", that means no modifications whatsoever. Delete all your Nuke files and delete the database entirely, then start again. Unzip the contents of the html folder into your root Nuke directory, overwriting everything, then run the install script. I'm guessing you somehow put some files in the wrong place when you were trying to put the files "in the right place."
Ah, it occurs to me what you might have done wrong. Don't follow the instructions on where to put the files. Those are incorrect and have not been updated. They belong to the old version. All you need to do is unzip the contents of the html folder into your root Nuke directory. There are some optional files if I recall correctly that you can install as well, it is safe to follow the instructions for those. This should have been clear in the READ_ME_FIRST.txt file that was in the root folder of the EDL package when you unzipped it.
edit: If you read the note marked "Important!" in that READ_ME_FIRST.txt file, it should have been clear that all you needed to do was unzip the contents of the html folder into your root Nuke directory.
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Drek Private
Joined: Dec 16, 2005
Posts: 45
Posted:
Sun May 21, 2006 10:58 am
Ok, 7.6 then. This should work with that as well. I wasn't making a point about the specific version, I was just saying that he should start with a clean unmodded downloads module if possible, including and especially the database, and work with that. It doesn't matter if the database already has downloads in it, but the structure needs to be unmodded.
dezina Support Mod
Joined: Jun 09, 2003
Posts: 1713
Location: England
Posted:
Sun May 21, 2006 8:32 pm
Quote:
I wasn't making a point about the specific version
Fine, but recommending version PHPNuke 7.8 is NOT a good idea, as article at 64bit.us outlines
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Drek Private
Joined: Dec 16, 2005
Posts: 45
Posted:
Mon May 22, 2006 12:59 am
I'm not arguing with you, the only reason I said 7.8 was because that was the version he was using. As for whether 7.6 or 7.8 or 1.3 is better, I had no idea, although I probably have a better idea now...
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