Error db_input.php line 282 when upload pic
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine
Author Message
Oskar
Newbie


Joined: Jan 05, 2006
Posts: 11

PostPost subject: Error db_input.php line 282 when upload pic
Posted: Fri Aug 15, 2008 3:47 pm
Reply with quote

i hace a little problem here, I'm trying to upload a picture and i gat this error.

Code:
CMS Error /home/elsalvad/public_html/modules/coppermine/db_input.php line 282: 
No picture was uploaded !

If you have really selected a picture to upload, check that the server allows file uploads...or that the gif is not animated.

[ Home ] [ Go Back ]


on line Line 282 on db_input look like this:

Code:
trigger_error('<br />'.NO_PIC_UPLOADED,E_USER_ERROR);

I haved change folders permit too 777.
and still dont work, i'm trying jpg images and dint owrk either.

So any one know?

Any help will be really apreciated.

Thank you


Oskar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CENTOS Enterprise 3.9 / Apache/ php 5.2.5/ 2.11.6 /DF 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Fri Aug 15, 2008 7:18 pm
Reply with quote

Stop multiple posting same info - your extra posts have been deleted.

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
rlgura
1000+ Posts Club


Joined: Mar 27, 2006
Posts: 1148
Location: Cleveland, OH USA

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Fri Aug 15, 2008 9:08 pm
Reply with quote

Server specs required for this kind of problem
_________________
Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1
Back to top
View user's profile Visit poster's website
Oskar
Newbie


Joined: Jan 05, 2006
Posts: 11

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Sat Aug 16, 2008 5:20 pm
Reply with quote

Server Specs Updated!

I hope you guys give me a hand


Oskar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CENTOS Enterprise 3.9 / Apache/ php 5.2.5/ 2.11.6 /DF 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Sat Aug 16, 2008 9:00 pm
Reply with quote

Someone has marked your profile as "no credits" - presumably because there is no evidence of a DF site.

The error you report appears to come from valid DF code, so I can only presume you are using a test site.

We cannot resolve your server permissions for you - there are simply too many server configs out there (many incorrect) - even moreso of a problem when people use their PCs for local testing.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Oskar
Newbie


Joined: Jan 05, 2006
Posts: 11

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Sun Aug 17, 2008 12:09 pm
Reply with quote

www.elsalvadoryahoochat.com that my thats the website

Oskar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CENTOS Enterprise 3.9 / Apache/ php 5.2.5/ 2.11.6 /DF 9.2.1
Back to top
View user's profile Visit poster's website
Oskar
Newbie


Joined: Jan 05, 2006
Posts: 11

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Sun Aug 17, 2008 12:13 pm
Reply with quote

It's clear that help don't exits here.

Oskar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CENTOS Enterprise 3.9 / Apache/ php 5.2.5/ 2.11.6 /DF 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Sun Aug 17, 2008 12:50 pm
Reply with quote

When people seek help, there is an expectation that they will first read our Rules and Regulations (big hint: the link in red just above the submit button when you posted) and to provide that information without being pushed for it.

The error is very clear
Code:
If you have really selected a picture to upload, check that the server allows file uploads...or that the gif is not animated.

I have never experienced your issue and it doesn't appear in the forums either. There are limits to what we can reasonably help you with - only you can know and manage your server conditions and permissions. If you see that as lack of help, that is unfortunate, but we cannot guess what your problem is unless another user has experienced and resolved exactly the same issue.

That is a large part of why we ask for information - so that other users might notice something they can relate to.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Oskar
Newbie


Joined: Jan 05, 2006
Posts: 11

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Sun Aug 17, 2008 3:02 pm
Reply with quote

Thanks Phoenix for you help, i dont select a picture, the server allow file upload, the picture is a JPG.

If you want me i can send you the php info on pvt.


Oskar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CENTOS Enterprise 3.9 / Apache/ php 5.2.5/ 2.11.6 /DF 9.2.1
Back to top
View user's profile Visit poster's website
Oskar
Newbie


Joined: Jan 05, 2006
Posts: 11

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Sun Aug 17, 2008 3:05 pm
Reply with quote

i mean i do select a picture.
Thats why is really weird.

====
One more thing
If it just me or no one can edit there own post on this forum?


Oskar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CENTOS Enterprise 3.9 / Apache/ php 5.2.5/ 2.11.6 /DF 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Sun Aug 17, 2008 3:30 pm
Reply with quote

Edit is disabled.

Check admin.php?op=info&mods - do you have gd enabled?

admin.php?op=coppermine
- what is "Method for resizing images"
- set "Enable debug mode" to "Yes" and see what is reported.

What permissions do you need for your "DFroot/cache" directory to work - your site is very slow to load although that may be due to the other 140 sites on your server.

Same permissions should be applied to modules/coppermine/albums and modules/coppermine/albums/userpics

Note: 777 is not always what is required - sometimes it is 755 - depends on your host server config.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Oskar
Newbie


Joined: Jan 05, 2006
Posts: 11

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Sun Aug 17, 2008 5:07 pm
Reply with quote

Thanks for the fast Anwser, yeah gd is enable,
modules/coppermine/albums and modules/coppermine/albums/userpic are on 777 permissions because required.

debug mode is now anable,
Code:
Integration vars
Selected CMS Theme:	dragonfly
Coppermine Theme:	modules/coppermine/themes/default
Module path	modules/coppermine
Nukelink	index.php?name=coppermine
$_SERVER vars
DOCUMENT_ROOT:	/home/xxxxx/public_html
HTTP_ACCEPT_CHARSET:	ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_LANGUAGE:	es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_USER_AGENT:	Mozilla/5.0 (Windows; U; Windows NT 6.0; es-ES; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 ImageShackToolbar/4.5.0
SCRIPT_FILENAME:	/home/xxxxxx/public_html/index.php
QUERY_STRING:	name=coppermine&file=upload
PHP_SELF:	/index.php
CPG Config
TABLE_PICTURES	cms_cpg_pictures
TABLE_ALBUMS	cms_cpg_albums
TABLE_COMMENTS	cms_cpg_comments
TABLE_CATEGORIES	cms_cpg_categories
TABLE_CONFIG	cms_cpg_config
TABLE_USERGROUPS	cms_cpg_usergroups
TABLE_VOTES	cms_cpg_votes
TABLE_USERS	cms_users
allow_private_albums	1
Site url (ecards_more_pic_target)	www.elsalvadoryahoochat.com/
fullpath	modules/coppermine/albums/
USER_IN_GROUPS	1
Default Language	english
Language Directory	coppermine
Queries
GET	

array (
  'name' => 'coppermine',
  'file' => 'upload',
)

POST	

array (
)


Oskar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CENTOS Enterprise 3.9 / Apache/ php 5.2.5/ 2.11.6 /DF 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Error db_input.php line 282 when upload pic
Posted: Mon Aug 18, 2008 12:00 am
Reply with quote

Okay, if permissions isn't an issue, it's not a DF issue - there is some sort of server issue which only you and your host can resolve.

admin.php?op=info&core
file_uploads - On?
upload_tmp_dir - sometimes this needs to be set.

Is your file simply too large?


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine All times are GMT
Page 1 of 1


Jump to:  
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

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.6431 seconds with 16 DB Queries in 0.1368 seconds
Memory Usage: 2.99 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy