Subject: Upage: path/permissions error?

Posted on: 24/09/04 05:01pm
By: beewee

After succesfull install of upage I got the following error while uploading images:

Warning: fopen(/home/zutphenp/public_html/upage/upic/2/poolseite-mittel.jpg): failed to open stream: No such file or directory in /usr/home/zutphenp/plugins/upage/functions.inc on line 1124

Warning: move_uploaded_file(/home/zutphenp/public_html/upage/upic/2/poolseite-mittel.jpg): failed to open stream: Permission denied in /usr/home/zutphenp/plugins/upage/functions.inc on line 1136

Warning: move_uploaded_file(): Unable to move '/var/tmp/phpf8MSDp' to '/home/zutphenp/public_html/upage/upic/2/poolseite-mittel.jpg' in /usr/home/zutphenp/plugins/upage/functions.inc on line 1136

Apart from adding images it seams to work fine. I guess I got some pathes or permissions incorrect, but can't find a way to solve it. I'm using a freeBSD server and the path /home/zutphenp/public_html works fine in the general GL config.php.

Tried everything I could figure out: set all the permissions to 777 to get it working, made an extra .tmp directory in public_html, changed some pathes etc etc but I'm far from being a PHP programmer....

So, please...HELP!

Upage: path/permissions error?

Posted on: 30/09/04 05:36pm
By: beewee

Changed permissions all to 777, but stil got some errors:

Warning: fopen(/home/zutphenp/public_html/upage/upic/2/lineal.jpg): failed to open stream: No such file or directory in /usr/home/zutphenp/plugins/upage/functions.inc on line 1124

and

... Successful file upload
File is not of specified type

Upage: path/permissions error?

Posted on: 25/10/04 07:18pm
By: beewee

Can anyone help me out ?? Please...

Upage: path/permissions error?

Posted on: 26/10/04 03:17am
By: beewee

After moving to the same server, but in a new datacenter, the errormessage is now:

Fatal error: Call to undefined function: upg_has_admin() in
 /home/zutphenp/public_html/admin/plugins/upage/index.php on line 39


Upage: path/permissions error?

Posted on: 07/02/05 02:41pm
By: amckay

Did you ever get this going?

Official upage support is at https://secure.quay.net/community/viewforum.php?f=6

I don't come to the geeklog site very often

Upage: path/permissions error?

Posted on: 07/02/05 02:52pm
By: beewee

Nope, but I don't need it for the moment. But it might be of interest for smaller communities where the risk of allowing nearly everybody of making new pages is a bit smaller.

Thanks for the reply anyway, that url is in my bookmarks now.

Upage: path/permissions error?

Posted on: 11/02/05 10:18pm
By: amckay

It is easy to add the ability to allow only users in a certain group to add pages. I do plan to add that when i pick this up again and start working on it, but it's literally a couple lines of code. You can also as-is limit the number of pages each user can add. It's in config.php

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=40800