Welcome to Geeklog Thursday, May 23 2013 @ 03:46 AM EDT
|
||||||||
![]() |
Forum Index > Support > Plugin Support |
New Topic
|
Post Reply
|
Upage: path/permissions error? |
|||
| beewee |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/05/03 Posts: 969 |
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 |
||||||
|
|||||||
| beewee |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/05/03 Posts: 969 |
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 |
||||||
|
|||||||
| beewee |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/05/03 Posts: 969 |
Can anyone help me out ?? Please...
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net |
||||||
|
|||||||
| beewee |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/05/03 Posts: 969 |
After moving to the same server, but in a new datacenter, the errormessage is now:
PHP 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 |
||||||
|
|||||||
| amckay |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() 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 |
||||||
|
|||||||
| beewee |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/05/03 Posts: 969 |
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 |
||||||
|
|||||||
| amckay |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() 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
|
||||||
|
|||||||
| Content generated in: 0.51 seconds |
|
|
|