Advertise With Us
View next topic
View previous topic
Post new topic   Reply to topic   print   Thank Post
Author Message
Mike63740
I might as well work here
I might as well work here



Joined: Jan 07, 2010
Posts: 72

Reputation: 14.6
Votes: 1

PostPosted: Wed Aug 04, 2010 8:57 am Reply with quote Back to top

Bobby, I have researched the forums and did not find a fix to my image upload problem. When I submit my image for an ad, I get this error message:

Ads Submission Error

pjpegAllowed File Types are : '.gif', '.jpeg', '.jpg', '.png'


Please help if you have a fix.

Thanks
 
View user's profile Send private message Yahoo Messenger
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Wed Aug 04, 2010 9:03 pm Reply with quote Back to top

Does it work with other images or do all images give you this error?
One thing you could try is this.
In your NukeC acp, change the "Ads Image upload full path" to the root path. Example would be /home/yourserver/public_html/modules/NukeC/imageads/. Servers vary depending on the setup.

_________________
Tricked Out News 
View user's profile Send private message
Mike63740
I might as well work here
I might as well work here



Joined: Jan 07, 2010
Posts: 72

Reputation: 14.6
Votes: 1

PostPosted: Thu Aug 05, 2010 6:16 am Reply with quote Back to top

/home/yourserver/public_html/modules/NukeC/imageads/

Which one below equal to above path?

1. http://mysite.com/Nuke/modules/NukeC/imageads/

2. www.mysite.com/Nuke/modules/NukeC/imageads/

3. nuke.mysite.com/Nuke/modules/NukeC/imageads/

4. http://www.mysite.com/Nuke/modules/NukeC/imageads/

5. http://www.nuke.mysite.com/Nuke/modules/NukeC/imageads/

6. /Nuke/modules/NukeC/imageads/

Thank you.
 
View user's profile Send private message Yahoo Messenger
Mike63740
I might as well work here
I might as well work here



Joined: Jan 07, 2010
Posts: 72

Reputation: 14.6
Votes: 1

PostPosted: Thu Aug 05, 2010 7:46 am Reply with quote Back to top

Only .gif file type uploads without any errors.

I get upload error message with files:
png & jpg

Thanks.
 
View user's profile Send private message Yahoo Messenger
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Thu Aug 05, 2010 8:10 am Reply with quote Back to top

If it uploads any image than the path is correct as it is. Try to replace the postads.php with this one.

_________________
Tricked Out News 
View user's profile Send private message
Mike63740
I might as well work here
I might as well work here



Joined: Jan 07, 2010
Posts: 72

Reputation: 14.6
Votes: 1

PostPosted: Thu Aug 05, 2010 11:08 am Reply with quote Back to top

Nothing new. postads.php has coding for .jpg and .png, but not .gif. It’s funny, because only .gif images will upload.

Can I just Delete codes for .png and .jpg?

Thanks.
 
View user's profile Send private message Yahoo Messenger
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Fri Aug 06, 2010 11:54 pm Reply with quote Back to top

I will look at it Saturday when I can sit down and spend the needed time to test some changes.

_________________
Tricked Out News 
View user's profile Send private message
bobby
Site Admin
Site Admin



Joined: Jan 20, 2009
Posts: 532

Reputation: 427.2
Votes: 1

PostPosted: Sun Aug 08, 2010 7:58 am Reply with quote Back to top

You can try editing postads.php and // out the following lines:

Code:
$type = basename($fileupload_type);
            //if (($type == "jpeg") || ($type == "jpg") || ($type == "pjpeg")) {
               //$type= "jpeg";
            //}
            //if ($type == "png") {
               //$type = "png";
            //}
            $filename = $UploadPath."$nextidads.".$type;


It works for me either way.

_________________
Tricked Out News 
View user's profile Send private message
Mike63740
I might as well work here
I might as well work here



Joined: Jan 07, 2010
Posts: 72

Reputation: 14.6
Votes: 1

PostPosted: Mon Aug 09, 2010 4:55 am Reply with quote Back to top

I'm going to put off editing the postads.php file for now. RavenNuke 2.4.0 used with NukeC 3.7.5 has proven to me to be very consistent. I begin using phpNuke in July, 2009.

If I had to choose 1 out of 3 file types as an upload image, I would pick .gif before .png and .jpg for more than 1 reason. For now I'm content with image upload.

Look forward to me returning to this topic. Case no closed for me.

Thank you,

Mike
 
View user's profile Send private message Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic   print   Thank Post

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 cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2008 phpBB Group

All times are GMT + 10 Hours
Forums ©

HomeTwitterFaceBookFeedsDonateRecommended Sites

Recommended Sites

Raven PHP Scripts

Nuke SEO

Montego Scripts

Code Authors

nunuke.co.uk