Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 10:31:11 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155556 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Can not upload modul on WB 2.8.2  (Read 479 times)
kettrich

Offline Offline

Posts: 24


« on: October 14, 2011, 10:33:49 AM »

On uploading a module in WB 2.8.2 I got an error message like.
"Can not wirte to target folder"

I checked php settings:
upload_max_filesize   8M           2M
and checked permissions on upload folder
folder /temp exists and is wirteable 777.

I found a lot of information about file permission but my /temp folder is on 777 but it did not help
What can be wrong?
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #1 on: October 14, 2011, 10:48:32 AM »

The ownership of the uploaded file can still be an issue as can other, operating system related configurations. If you have access to the logs of the server, you might find some more information in there.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

kettrich

Offline Offline

Posts: 24


« Reply #2 on: October 14, 2011, 11:23:14 AM »

Hello kweitzel,
sorry I do not have access to the log files as the server is not mine.

Please excuse my question ( probalby a silly one) but what happens if I copy that same installed module via ftp from my old local installation which is still  WP 2.8.1  and also copy that created table from the database into that 2.8.2 version on the lifeserver? Will that work? I suppose it wont.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #3 on: October 14, 2011, 03:28:43 PM »

You can upload the content of the ZIP into a folder in the modules directory. The folder must be named exactly like defined in the info.php of the module. Then use the advanced link in the add-ons (WB Admiinbackend) and you should be able to install it.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

kettrich

Offline Offline

Posts: 24


« Reply #4 on: October 14, 2011, 04:01:17 PM »

Thank you "advanced link" sounds great. I am going to download and install that for me.

Something in addition.
For the last few years there was a list of what folders and files needs which permissions but I cant find it now and I can't perfectly remember. Do I have to set permission for /modules folder and all files and folders inside to 777.
They are already set to 777 at the administrator Option settings but the files itself are still 755.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #5 on: October 14, 2011, 04:52:54 PM »

First of all ... 777 is NEVER a good idea, anybody on the same machine can write into your directory if he is able to guess the complete path. But I do know, that there are hosting configurations here 777 is the only way to make things work with uploading and creating files and/or folders. In general, only give the minimum rights necessary.

The folders where your web-server (and Website Baker) needs to write are: templates, modules, languages, temp, pages and media. For all the others you can disable the writing option. Even some of the ones listed above do not need to be writable all the time if you don not wish to install modules, language-files or templates constantly Wink

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #6 on: October 14, 2011, 05:16:52 PM »

Hi, for permissions, check the second link (fix permissions). Hope it helps.
http://www.websitebaker2.org/forum/index.php/topic,19267.0.html
Logged

kettrich

Offline Offline

Posts: 24


« Reply #7 on: October 14, 2011, 09:14:04 PM »

Thanks dbs for that fix-permission, it is great. NowI can be sure all files and folders have got the right permissions.

Thanks kweitzel to that explainations. Meanwhile I managed to install that module by setting modul folder and all fiels inside to 777 and after that back to 755.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!