Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 01:50 am EST

Geeklog Forums

Upage: path/permissions error?


Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
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!
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
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
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Can anyone help me out ?? Please...
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
After moving to the same server, but in a new datacenter, the errormessage is now:

Text Formatted Code

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

 

Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

amckay

Forum User
Full Member
Registered: 03/23/02
Posts: 180
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
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
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.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

amckay

Forum User
Full Member
Registered: 03/23/02
Posts: 180
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
 Quote

All times are EST. The time is now 01:50 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content