Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
redhairz
Worker
Worker


Joined: Nov 17, 2006
Posts: 222

PostPosted: Fri Jan 19, 2007 4:33 pm Reply with quote

:clap: Hi guys can anyone tell me where to find the module nukeC classicfied i like it alot i did it with nukeC30 even cmod777 to imageads but just coudt load the image. Appriciate if someone know how to correct it or recommend me another module that can work with Rn20202 thanks mans.. Surprised

_________________
Jesus is Alive, He is our joy, be it good times or bad time. 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Fri Jan 19, 2007 4:54 pm Reply with quote

when i was searching for a solution i found this.....



//START COPIED STORY

1st. The original 7.6.b.4 sql creates a table for the classified images, however it doesn't insert the image file types definitions. Dauthus provided the code for inserting this information, however his code was for the "NukeC30 beta" and not designed for 7.6.b.4. Loki changed the table titles in 7.6.b.4 Not a lot but enough to give problems.

The correct insert codes to run on your sql commands are:


INSERT INTO nuke_nukec_ads_imgtype VALUES("1", "gif", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("2", "jpeg", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("3", "jpg", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("4", "x-png", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("5", "pjpeg", "1");


2nd. you MUST add the following line to your .htaccess file that is located in your php root directory:

php_flag register_globals on



Make sure the ftp program you are using allows you to see hidden files, because usually .htaccess files are hidden.
By default the .htaccess file for 7.6.b.4 is empty.


3rd. the folder names and paths in 7.6.b.4 are not the same as in the original NUKEC30 module.
Loki changed the names and folder layout, however forgot to change the defaults in the settings.
To correct them do the following:

A. Go to the Classified's Module control in the admin section of your site and then click on "Setting Nuke Classifieds Preferences".
Or as a shortcut go here: Only registered users can see links on this board! Get registered or login!


B. Make sure of the following:
Ads Image upload full path = modules/Classifieds/imageads/
Ads Image path = modules/Classifieds/imageads/
Ads Category Image upload path = modules/Classifieds/imagecatg/
Ads Category Image path = modules/Classifieds/imagecatg/


Once you do all three of those steps then the classified images will work as they should...



//END COPIED STORY
 
View user's profile Send private message
redhairz
PostPosted: Fri Jan 19, 2007 5:39 pm Reply with quote

hitwalker thanks for the trouble anyway i came across some nukeC that can link their image from external without loading into its own site. cos i dont wan to mess up the rnnuke >.< anyway hitwalker if u know anyone with that discussion can u post it here? or recommend me a link some how sorry about that.

i will give a try. see how it will work out. cos there r so much code in the rn Htacesss file that would made it hard to place in.
 
hitwalker
PostPosted: Fri Jan 19, 2007 5:42 pm Reply with quote

thats about all the help i can give or come up with....
atleast try it...
but others i know didnt had any problems....
so im not sure this will help either...
 
Dauthus
Worker
Worker


Joined: Oct 07, 2003
Posts: 211

PostPosted: Fri Jan 19, 2007 9:06 pm Reply with quote

hitwalker wrote:
INSERT INTO nuke_nukec_ads_imgtype VALUES("1", "gif", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("2", "jpeg", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("3", "jpg", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("4", "x-png", "1");
INSERT INTO nuke_nukec_ads_imgtype VALUES("5", "pjpeg", "1");


Since you are running RN, and not Platinum 7.6b4 (it is preinstalled in 7.6b4) you may want to change the database table names to what they were in the original installation. This will fix the following error:
----------------------------------------------------------------------
Ads Submission Error


Max File Dimension Allowed in Uploading Image is 2000 x 2000 Pixel(s)

Allowed File Types are :


Please Go Back and Correct the Above Error(s)
<< Go Back "
-------------------------------------------------------------------------

Original database update is as follows:

INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (1, 'gif', 1);
INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (2, 'jpeg', 1);
INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (3, 'jpg', 1);
INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (4, 'x-png', 1);
INSERT INTO `nuke_nukec30_ads_imgtype` VALUES (5, 'pjpeg', 1);


If you are receiving the error listed below when trying to upload files then you neeed to turn safe mode off on your domain. If you are not comfortable with safe mode off, you will need to install another classified module or not allow image uploads as this module will not allow you to upload images with safe mode on.
----------------------------------------------------
Ads Submission Error


Max File Dimension Allowed in Uploading Image is 2000 x 2000 Pixel(s)

Allowed File Types are : '.gif', '.jpeg', '.jpg', '.x-png', '.pjpeg'


Please Go Back and Correct the Above Error(s)
<< Go Back
--------------------------------------------------------

Hope this helps

_________________
Only registered users can see links on this board! Get registered or login!
Vivere disce, cogita mori 
View user's profile Send private message Visit poster's website
redhairz
PostPosted: Sat Jan 20, 2007 6:03 pm Reply with quote

Hey guys i still have a problem i tihn the table were setted right this time i left this upload

default
Ads Image upload full... path//hsphere/local/home2/caesar/nuke76.nukec.org/modules/NukeC30/imageads/
Ads Image path....modules/NukeC30/imageads/

this is what my cpanel path look like
/ public_html /nukern/modules/NukeC30/imageads /

my whole url is Only registered users can see links on this board! Get registered or login!

it post ads i upload the image it say you had post it succefully. but the image is not there so i think is the path
Dauthus and hitwalker ffrom the look at the first line at default
what is the collect path my mine? i try adding in my path but it did not work.

Hey thank for ur help i came this far it only left the path problem u all r great Very Happy

wow bootleghllow your classiC is nice i wish i had the workble nukec like your site Smile
anyway i saw this error on top the the webpage at pm u.


Last edited by redhairz on Sat Jan 20, 2007 6:11 pm; edited 1 time in total 
hitwalker
PostPosted: Sat Jan 20, 2007 6:06 pm Reply with quote

Code:
<?


echo$PATH_TRANSLATED;

?>


put that in a file called info.php and it shows the full root...
that will help..
 
redhairz
PostPosted: Sat Jan 20, 2007 6:18 pm Reply with quote

hi hitwalker there is no info.php ? file
 
hitwalker
PostPosted: Sat Jan 20, 2007 6:22 pm Reply with quote

yeah i know....you have to make that...
i just gave an example.... killing me

THEN PUT THE CODE IN I POSTED.... Laughing
 
redhairz
PostPosted: Sat Jan 20, 2007 6:27 pm Reply with quote

hitwalk +_+ ok i created info.php in the module/nukec30/
nothing happen Dance-Stick

but the path is in default i din change the path to my?


Last edited by redhairz on Sat Jan 20, 2007 6:30 pm; edited 1 time in total 
hitwalker
PostPosted: Sat Jan 20, 2007 6:30 pm Reply with quote

nothing should happen...
it only shows the path on your server...
in that way you can easely see now what the path is and what you should fiull in..
understand now ?
 
redhairz
PostPosted: Sat Jan 20, 2007 6:41 pm Reply with quote

hitwalker u know what i miss out the account name nowonder haha hey i place php_flag register_globals on at the botton of the htceee. there were lots of SN written code above place will that affect the SN operation? or secrutiy issue?

hitwalker you are sure a very good player in the phpnuke community A1.

Thanks for your help.. guess i own u one favourble yeah. Smile i will not 4get that and RN too hehe
 
hitwalker
PostPosted: Sat Jan 20, 2007 6:43 pm Reply with quote

thanks...all seems ok now then...
good luck..
 
redhairz
PostPosted: Sat Jan 20, 2007 6:49 pm Reply with quote

Thanks You mansss time to take a break switching to BF2 server haha brb
 
shotokan
Worker
Worker


Joined: Aug 27, 2006
Posts: 172

PostPosted: Sat Feb 24, 2007 12:02 am Reply with quote

Does it module will work for 7.8 patched 3.3?

I am getting exact the file dimention and file type error the rest is OK

and what is that to change domain safe mde off? how to make that change? is it really necessary?

_________________
Shotokan 
View user's profile Send private message
redhairz
PostPosted: Sun Feb 25, 2007 2:24 pm Reply with quote

not sure what do u mean but the above guide has given by htiwalker and the module works with RN nuke i am glad just follow the guide line. Or you can explain in details which of the error or whatever your mistake has?
 
shotokan
PostPosted: Sun Feb 25, 2007 5:31 pm Reply with quote

The problem is simple. The whole module is working but whenever i try to add a post i got this:

Ads Submission Error


Max File Dimension Allowed in Uploading Image is 2000 x 2000 Pixel(s)

Allowed File Types are : '.gif', '.jpeg', '.jpg', '.x-png', '.pjpeg'


Please Go Back and Correct the Above Error(s)
<< Go Back


I already try playing with the size of the pictures/images and dimentions but no matter what i do i simply can not add a new classified with a image because i got this error.
 
aneeshtan
New Member
New Member


Joined: Feb 27, 2007
Posts: 5

PostPosted: Tue Feb 27, 2007 11:08 am Reply with quote

sorry my friends i have the same problem and when i wana upload a image i face to this error

Allowed File Types are : '.gif', '.jpeg', '.jpg', '.x-png', '.pjpeg'


i don't know how to deal with this problem .....
please help me
 
View user's profile Send private message
mklim
New Member
New Member


Joined: Mar 27, 2007
Posts: 1

PostPosted: Wed Mar 28, 2007 9:58 am Reply with quote

Hello Guys,

NukeC works very well except that each time when I try to save the settings or post an ad, a blank page will appear instead of, say a thank you page. Has anyone encounter this problem?

Appreciate if someone could share their knowledge.
 
View user's profile Send private message
Guardian2003
Site Admin


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

PostPosted: Wed Mar 28, 2007 1:50 pm Reply with quote

I'm not entirely sure what this lengthy post has to do with Raven Nuke, its a module issue, so I'm moving it to the modules forum.
 
View user's profile Send private message Send e-mail
redhairz
PostPosted: Mon Apr 02, 2007 10:48 am Reply with quote

Guradian pls dont delele this forum as i come back to learn how to fix the error. thanks i am reinstalling the module 3-4 time just to get it familar. :clap:
 
Guardian2003
PostPosted: Mon Apr 02, 2007 11:33 pm Reply with quote

I wouldnt dream of deleting it Wink
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©