skip to main content

kiesler.at
You are NOT logged in. ( login | New Account Signup | Forgot Your Password? ) Why log in?
View Topic
Forums > Content Management > phpWebSite > Can't upload images in pagemaster


The ad will go away if you log in.

<< [ 1 ] 2 >>

| NewTopic New Topic | Reply Reply

 

andrewbaxter “Can't upload images in pagemaster” #1
Activator[15] 2007-03-21 21:41

Hi
Please can anyone help a phpws newbie?

I am using version 0.10.2

When I try to upload an image in pagemaster all I get is this error "Upload directory does not exist or is not writable:
/public_html/cic/images/pagemaster/ " so I created the upload folder in pagemaster folder but I still get the error.
All folders permissions are set to writable.

Please. Any suggestions appreciated.I am tearing my hair out!
Quote Quote
rck “Re: Can't upload images in pagemaster” #2
Admin[1999] from Korneuburg 2007-03-21 22:05

andrewbaxter When I try to upload an image in pagemaster all I get is this error "Upload directory does not exist or is not writable:
/public_html/cic/images/pagemaster/ " so I created the upload folder in pagemaster folder but I still get the error.
All folders permissions are set to writable.


Do you get exactly that message? I think, there's a path missing... Can you please install the Health Module and paste the result of http://yoursite.com/mod/health/manual.php in here?
---
200 channels and... nothing but cats.
Quote Quote
andrewbaxter “Re: Can't upload images in pagemaster” #3
Activator[15] 2007-03-22 09:14

Thanks for your quick reply.
Sorry the full error is Upload directory does not exist or is not writable:
/data01/ronson40/public_html/cic/images/pagemaster/

Here are the Health results:

Health
control panel > health > report

Full Report
Showing 13 Messages.

open_basedir restriction - Warning
Warning! Right now, only access to the following directories is allowed through the open_basedir statement: /data01/ronson40/, /usr/lib/php, /usr/local/lib/php, /tmp

Used Memory - ERROR!
Error! The php on your server does not support the function memory_get_usage().Please doublecheck with your host, wether he compiled in. It has been available in php as of version 4.3.2 but is only available, if your php is compiled with the --enable-memory-limit option.

Available Memory - Warning
Warning! Right now, phpWebSite can use as much memory as there is available.

Safe Mode - OK
PHP safe mode is disabled. That's good, because otherwise phpWebSite and this script would not be able the way they are meant to run.

File Uploading - OK
php is configured to allow file uploads via http. That's good!

Register Globals - OK
Register Globals disabled.

Operating System - OK
Your server is running Linux which seems to be some kind of Unix derivate. That's good, you should be on the safe side.

PHP Version - OK
You are using php version 4.4.4. Looks very recent to me.

GD Support - OK
You are running php 4.3.0 or greater which has the GD image manipulation libraries built in.

Webserver - OK
You are running Apache Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a. This webserver is fully supported by phpWebSite.

Image Directory - OK
The image directory of your site (/data01/ronson40/public_html/cic/images/) is writeable.

Setup Directory - OK
Your setup directory does not exist any more. This is good, as it gives you a bit more security.

Caching - OK
Caching is disabled for your site. Usually, your site performance will benefit from this.

back




Edit Section
Quote Quote
rck “Re: Can't upload images in pagemaster” #4
Admin[1999] from Korneuburg 2007-03-22 09:31

And the output of http://yoursite.com/mod/health/manual.php ?
---
200 channels and... nothing but cats.
Quote Quote
andrewbaxter “Re: Can't upload images in pagemaster” #5
Activator[15] 2007-03-22 09:56

OK here it is

Health MANUAL MODE
Health is a phpWebSite Module brought to you by kiesler.at

Health Files - OK
found all 11 files of health in /data01/ronson40/public_html/cic/mod/health.

Health Sanity - OK
The checksum of your installed Health 1.1 matches with the one I know about.

phpWebSite Files - OK
found all 34 files of phpWebSite in /data01/ronson40/public_html/cic

Source Directory - OK
phpWebSite source directory correctly set to /data01/ronson40/public_html/cic/

php MySQL connectivity - OK
php can access your mysql installation with the parameters provided in /data01/ronson40/public_html/cic/conf/config.php
Quote Quote
rck “Re: Can't upload images in pagemaster” #6
Admin[1999] from Korneuburg 2007-03-22 10:01

Looks good. You write

so I created the upload folder in pagemaster folder


Is this folder located in /data01/ronson40/public_html/cic/images/pagemaster/ ? Can you upload stuff to the documents module?
---
200 channels and... nothing but cats.
Quote Quote
andrewbaxter “Re: Can't upload images in pagemaster” #7
Activator[15] 2007-03-22 10:44

Thanks for your help again.

I tried to upload a word document file to documents but get this error:


File upload messages
1 : There was a problem uploading the specified file.
2 : No file was selected to be uploaded.
3 : No file was selected to be uploaded.
4 : No file was selected to be uploaded.
5 : No file was selected to be uploaded.

I tried this twice but got the same result.
Quote Quote
andrewbaxter “Re: Can't upload images in pagemaster” #8
Activator[15] 2007-03-22 10:50

You write:

Is this folder located in /data01/ronson40/public_html/cic/images/pagemaster/

The answer is yes.
Quote Quote
rck “Re: Can't upload images in pagemaster” #9
Admin[1999] from Korneuburg 2007-03-22 10:53

andrewbaxter I tried to upload a word document file to documents but get this error:

File upload messages
1 : There was a problem uploading the specified file.


So we got a more general uploading problem... Can you put back in your setup directory (copied from the original package) and post your server name so I can look into the phpinfo output?
---
200 channels and... nothing but cats.
Quote Quote
andrewbaxter “Re: Can't upload images in pagemaster” #10
Activator[15] 2007-03-22 15:36

I never had a setup folder as I installed the phpws via my web host control panel as an addon. However I have now downloaded phpws v0.10.2 from sourceforge and moved setup folder into the phpws root on my existing site.Is that ok?

You say you need name of server. What is it you need exactly is it domain + username + password? sorry for my ignorance!
Quote Quote
aprilla “Re: Can't upload images in pagemaster” #11
Activator[22] from Ireland 2007-03-22 20:34

andrewbaxter error "Upload directory does not exist or is not writable:
/public_html/cic/images/pagemaster/ " so I created the upload folder in pagemaster folder but I still get the error.


You should create a pagemaster folder within the images folder, and make it writable. (not images in the pagemaster folder)
---


aprilla
"much wants more"
Quote Quote
rck “Re: Can't upload images in pagemaster” #12
Admin[1999] from Korneuburg 2007-03-22 21:48

andrewbaxter You say you need name of server. What is it you need exactly is it domain + username + password?


No, that would be way too much! :-) I need something like http://www.kiesler.at/ -- but with your domain name instead of mine.
---
200 channels and... nothing but cats.
Quote Quote
andrewbaxter “Re: Can't upload images in pagemaster” #13
Activator[15] 2007-03-22 23:01

OK that will be http://www.gementertainment.co.uk/cic/
Quote Quote
rck “Re: Can't upload images in pagemaster” #14
Admin[1999] from Korneuburg 2007-03-23 10:14

Looks fine to me... I'll write a little upload-testscript...
---
200 channels and... nothing but cats.
Quote Quote
andrewbaxter “Re: Can't upload images in pagemaster” #15
Activator[15] 2007-03-23 14:31

Many thanks
Quote Quote
rck “Re: Can't upload images in pagemaster” #16
Admin[1999] from Korneuburg 2007-03-23 15:59

I have found a script at Sams publishing. You can download it here.

For trying it on your server, please

  • download it,
  • untar it (with WinZip for example)
  • put it in /data01/ronson40/public_html/cic
  • change $file_dir and $file_url to /data01/ronson40/public_html/cic and your URL, then
  • direct your browser to that url and try to upload something

what happens?
---
200 channels and... nothing but cats.
Quote Quote
andrewbaxter “Re: Can't upload images in pagemaster” #17
Activator[15] 2007-03-23 20:21

dont think I did this right.

edited file to: $file_dir = '/data01/ronson40/public_html/cic';
$file_url = 'http://www.mydomain.co.uk/cic';
Placed it in cic folder.
Then I browsed to [content] file (should I have changed its file name?). All I saw was the [content] file code.

Andy
Quote Quote
rck “Re: Can't upload images in pagemaster” #18
Admin[1999] from Korneuburg 2007-03-23 20:56

When I try to access http://www.gementertainment.co.uk/cic/uploader.php all I get is a "404 - not found". Where exactly did you put it?
---
200 channels and... nothing but cats.
Quote Quote
andrewbaxter “Re: Can't upload images in pagemaster” #19
Activator[15] 2007-03-23 21:01

Ok browsed to upload.php and received this result:

uploader.php 0000644 0001761 0001761 00000002207 10600765066 014036 0 ustar rck rkiesler 0000000 0000000 path: /tmp/phpuJzs2h
name: Test an uplaoad.doc
type: application/msword
size: 24064
Quote Quote
rck “Re: Can't upload images in pagemaster” #20
Admin[1999] from Korneuburg 2007-03-23 21:19

And when I try to upload a file, I get:

Warning: move_uploaded_file(/data01/ronson40/public_html/cic/fupload) [function.move-uploaded-file]: failed to open stream: Permission denied in /data01/ronson40/public_html/cic/uploader.php on line 24

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpc6e2T2' to '/data01/ronson40/public_html/cic/fupload' in /data01/ronson40/public_html/cic/uploader.php on line 24
Couldn't copy


Hmmm. You didn't get those warnings?
---
200 channels and... nothing but cats.
Quote Quote

<< [ 1 ] 2 >>
| Reply Reply |

Forum Menu

please log in for further options.

What's Related

Wiki

phpWebSite

Photo Albums

phpWebSite

Article Manager

phpWebSite

Link Manager

phpWebSite

Documents

phpWebSite

Bulletin Board

phpWebSite

FAQ

phpWebSite

Latest Updates

Free Image Hosting and Li...
created by mikepeterson, 1 week ago (, 86 views)
thread

how to start javascript !...
created by shopperpk, 3 weeks ago (, 143 views)
thread

Hello, new here !
created by shopperpk, 3 weeks ago (, 126 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3440 views)
thread