Bergie:

> Do you have file_uploads = On in your php.ini? - Yes
> 
> Can apache user write to the Midgard blob directory? - Yes

Before posting the problem I ran into, I did do some searches in this 
user group and followed some of the recommendations made, such as:

in the php.ini:
post_max_size = 50M
upload_max_filesize = 50M
register_globals = on
upload_tmp_dir = /var/www/tmp 

I also did:
touch /tmp/NemeinLocalization_nonexistent
chown apacheuser.apachegroup /tmp/NemeinLocalization_nonexistent

and I set apacheuser.apachegroup to have full access to both the 
upload_tmp_dir and blobs directory

As the client tries to load the image (i.e. head1.jpg), and 
eventually displays "The page cannot be displayed" error, on the 
server the image does show up in the upload_tmp_dir (/var/www/tmp) 
directory, under a name such: phpW2VQir (JPEG Image)

In addition to the original problem description: With a fresh install 
of Aegir, in the left nav of the gallery page an error message shows 
under the Create Image Gallery link: Fatal error: Call to a member 
function on a non-object in ROOT(908) : eval()'d code(109) : eval()'d 
code on line 58

Once I create a company, and then go the gallery page again, in the 
left nav, the company will be listed and underneath it will have the 
Create Image Gallery link, but the error does no longer show.  I am 
not sure if that helps in pinpointing the cause of the image loading 
problem.

My current environment is Aegir CMS 1.0 RC1 again, since Aegir CMS 
1.0 RC2 gave me problems editing pages.

Any suggestions.

Thank you.

Joost

--- In [EMAIL PROTECTED], Henri Bergius 
<[EMAIL PROTECTED]> wrote:
> On Tue, 2003-02-18 at 20:29, vivaveggie  wrote:
> > Any suggestions why the images can not be uploaded?
> 
> Do you have file_uploads = On in your php.ini?
> 
> Can apache user write to the Midgard blob directory?
> 
> > Joost
> 
> /Bergie
> 
> -- 
> Henri Bergius                           [EMAIL PROTECTED]
> Consultant Partner                      Tel: +358-20-198 6032
> Nemein Oy                               http://www.nemein.com/
> 
> Nemein.Net -- Project tracking solution for consulting companies
> http://www.nemein.com/Nemein.Net/
> 
> 
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Initial Problem Description:

I am unable to load images into the gallery, or add images to a 
article/page as attachments. Apparently the link information gets 
created into the midgard database, but the actual image files never 
get uploaded to the server.

When clicking on attachments or when editing page or selecting New 
Attachments at the bottom of the Gallery page, I do get the pop-up 
window to select an image from my local drive on the client computer, 
but when I select 'Upload', the progress bar in the bottom of my 
browser moves slowly, and eventually I get "The page cannot be 
displayed" error. When I click on the gallery tab again in the left 
nav, the image name is listed but no actual image shows. 

I had the problem with Aegir CMS 1.0 RC1, and I installed the latest 
nightly build (Aegir CMS 1.0 RC2 - nightly build of Feb 13, 2003), 
but the problem remained 

Any suggestions why the images can not be uploaded?

Environment:
Redhat 8.0
Midgard 1.4.4

Thanks.

Joost



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to