MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
Somes problems with images upload
AuthorText
Cyril
Just arrived

Posts: 0
Contributes: 0

Gender: _NEUTRAL_
Online: No
Date: 07/10/2007 23:40
Somes problems with images upload
#post2073
Hi,

i have somes problems with images upload ( in gallery and imageup )

I saw the code and for exemple in imageup, index.php file in line 89, we can read this code:

code
mkdir('pages/'.$page.'/uploads/'.$username.'/', 0777);


but for me, it's better to have this code:

code
@mkdir('pages/'.$page.'/uploads/'.$username, 0777);


I deleted the last slash and add for security raison @ before mkdir

chmod too in ligne 92 ( @chmod )

At this time, imageup create all folders and chmod is ok, but i can't upload, i have yet this message by the class upload: _FILE_NOT_UPLOADED_


mem, if you see here http://www.php.net/mkdir normaly it's better

regards
Delete Edit Quote
 
Cyril
Just arrived

Posts: 0
Contributes: 0

Gender: _NEUTRAL_
Online: No
Date: 09/10/2007 12:18
Re: Somes problems with images upload
#post2110
In order to begin to solve this problem: do not use memht under PHP5 !

The upload class in memht doesn't work under PHP5 Smile

Can anybody confirm this ?

Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 09/10/2007 12:28
Somes problems with images upload
#post2111
I've already used it under php5 but i'll check again asap
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 09/10/2007 23:21
Somes problems with images upload
#post2115
Delete Edit Quote
 
munt3d
Just arrived
Avatar

Posts: 7
Contributes: 7

Gender: _MALE_
Online: No
Date: 16/10/2008 13:59
Re: Somes problems with images upload
#post13695
i'm having the current problem. with ImageUP when i upload files i get this Error " File not uploaded "
what could this be ???
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 16/10/2008 16:25
Re: Somes problems with images upload
#post13699
The file cannot be found and copied from the server temporary upload folder to the chosen one. This means that the script have no write permissions or the folder doesn't exists.
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo