[SOLVED] Image upload not working

Found any bugs with any of our scripts? Post in here...

[SOLVED] Image upload not working

Postby Mpeter19 » Mon Mar 28, 2011 4:32 am

Hi the image upload does not work for me here is the link>> http://filehost.oi-load.com/index.php?page=img

if you upload a picture will get this error:
Notice: Undefined index: method in / home / oi-load / file host / basic.php on line 11

and this is still extra: Upload Failed, please try again



Please help me
Mpeter19
Standard Member
 
Posts: 6
Joined: Mon Mar 28, 2011 2:38 am

Re: Image upload not working

Postby PeterS » Tue Mar 29, 2011 11:10 pm

Mpeter19 wrote:Hi the image upload does not work for me here is the link>> http://filehost.oi-load.com/index.php?page=img

if you upload a picture will get this error:
Notice: Undefined index: method in / home / oi-load / file host / basic.php on line 11

and this is still extra: Upload Failed, please try again



Please help me


Does this occur in the demo? Is the error reporting line available in the config.php file? You'll find it in the beginning of the config file
Code: Select all
<?php
///////////////////////////////////////////////////////////////////////////
//  Product: Daddy's File Host               
//  Version: 1.1                       
//                        
// by DaddyScripts.com                  
//                               
// original source code by Jim (j-fx.ws) and Steven (galaxyscripts.com)
//////////////////////////////////////////////////////////////////////////
error_reporting(0);
//error_reporting (E_ALL ^ E_NOTICE);
PeterS
Global Moderator
 
Posts: 159
Joined: Mon Feb 21, 2011 4:58 am

Re: Image upload not working

Postby Mpeter19 » Thu Mar 31, 2011 5:45 pm

yes, the line exists in the config.php
Mpeter19
Standard Member
 
Posts: 6
Joined: Mon Mar 28, 2011 2:38 am

Re: Image upload not working

Postby PeterS » Sat Apr 02, 2011 3:36 am

Mpeter19 wrote:yes, the line exists in the config.php


And does this error occur in the demo (./demo/dfh11)? A quick solution for your problem however is to copy that line mentioned above in config.php to config2.php (the image's config).
PeterS
Global Moderator
 
Posts: 159
Joined: Mon Feb 21, 2011 4:58 am

Re: Image upload not working

Postby Mpeter19 » Sat Apr 02, 2011 3:02 pm

1000 now it works thanks

but you forgot to mention the instalation to the folder of images and Imgfile must be set to chmod 777;-)
Mpeter19
Standard Member
 
Posts: 6
Joined: Mon Mar 28, 2011 2:38 am

Re: Image upload not working

Postby PeterS » Sun Apr 03, 2011 5:02 pm

Mpeter19 wrote:1000 now it works thanks

but you forgot to mention the instalation to the folder of images and Imgfile must be set to chmod 777;-)


Good, however you don't have to CHMOD ./img as that folder only contain's the script's images.
PeterS
Global Moderator
 
Posts: 159
Joined: Mon Feb 21, 2011 4:58 am


Return to Bug Tracker

Who is online

Users browsing this forum: No registered users and 4 guests

cron