Page 1 of 1

[SOLVED] Image upload not working

PostPosted: Mon Mar 28, 2011 4:32 am
by Mpeter19
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

Re: Image upload not working

PostPosted: Tue Mar 29, 2011 11:10 pm
by PeterS
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);

Re: Image upload not working

PostPosted: Thu Mar 31, 2011 5:45 pm
by Mpeter19
yes, the line exists in the config.php

Re: Image upload not working

PostPosted: Sat Apr 02, 2011 3:36 am
by PeterS
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).

Re: Image upload not working

PostPosted: Sat Apr 02, 2011 3:02 pm
by Mpeter19
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;-)

Re: Image upload not working

PostPosted: Sun Apr 03, 2011 5:02 pm
by PeterS
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.