News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Setting file permission with FTP ( Upgrade file and admin panel )

Started by FMaz, April 24, 2009, 05:41:47 PM

Previous topic - Next topic

FMaz

Hi,

I've upgraded from SMF 2 beta 3 to SMF 2 RC1.

So I wanted to install the UTF-8 French language pack with the Admin interface.
I've searched french, chosed the French UTF-8 language, then press install.

I've been asked for a FTP path to the forum. I've setuped an FTP account ( and tested it succesfully), and When I click INSTALL, the same page reload and I have this error message:
"You cannot proceed with the installation until all files selected to be copied are writable."



Also, I've not found how to delete the old French language pack that is missing few words. ( Like the language menu, their is no "add" "Edit" "Setting" )


Hope my report will help.

FMaz

    * Version(s) of SMF
          o 2.0 RC 1
    o
    * Your Setup:
          o List any Modifications you have installed
                + None
          o List any Themes you have installed
                + YaBB, Babylon, default, Custom
          +
          o List any non-English Language packs you have installed
                + French UTF-8 , well, I'm unable to install it.
          +
          o Are you using UTF-8? Yes
          o Any other related information? Hum, nop
    * Server Software:
          o Apache/IIS version?: Apache 2
          o PHP version?: 5.0.32
          o Database type and version: MySQL: 5.0.32
          o Any other related server information? Pure-FTPd [privsep]
    * Where the Error Occurred -- No error.
    * How to Reproduce this Error?:
          o I don't know, for me, I just have to fill my FTP info and click the submit button.
    * Additional Information?


So the problem is, when I have the form that use SMF for establishing an FTP Connection, it doesn't work.

Are you sure about the FTP login informations ?
I can use the same information to make the CHMOD manually with an FTP client, and it work, so the FTP Access is ok.

Any error ?
If I enter a wrong Path, an error tells me that the path is wrong. So I assume that the FTP connection is established correctly.

As I've created an FTP Account only for this purpose, the account base path is the forum root dir. So my correct path is: /

When everything is ok, the page simply reload (but not really fast, like if there was a timeout or something). No error. Same page.

Have you tried another host ?
Yes, for the FTP Host, I've tried the domain, and localhost.
No difference, except that it's a little bit longuer to load the page with the domain.

Why don't you do all the changes manually ?
1- Because the feature should work
2- Because on one of the installation I'll have to do, the setup tell me I have over 800 changes to do  :'(



If you want me to try a debugging version of a specific file, of make any test, I'll be glad to help.

karlbenson

For the first part, have you tried chmodding the necessary folders with
admin > packages > file permissions

For the last part.
It appears we don't have a way to delete language packs at the moment.
http://dev.simplemachines.org/mantis/view.php?id=3124

FMaz

Well, in my cse, I have over 800 chmod to do, so no, I've not tried to do them manually ;)
But the point is: the FTP interface should automate this process and do all the CHMOD for me.

So my bug repport is: The FTP system that should fix the file permission doesn't work.
Or at least doesn't show an error that would really help.

Because a simple page reload is really not what we would expect.

karlbenson


karlbenson

I have merged both of your posts together.
I suspect this maybe server issue/related.
(although even if its the case smf should do more than a simple page refresh)

FMaz

No.

Everything that use FTP doesn't work.
And talking about mod, when I try to upload a mod file, I get an error saying that I can only upload zip, tar.gz and another format of file. But I do upload a .zip file.

Well, it's a little out of the subject, but to anwser your question: no, I can't install mod with the admin interface : I must install them manually.


However, on some place, their is a "Test Connection" button, and this work.
So the connection is ok, but that's all.



Edit: Thanks for the merge, I wasn't sure if both bug where related.

karlbenson

FMaz, this works for me on all 3 test installs/sites available to me.

I'm going to move this to our support forums where you should get more responses from our support team. (they might miss the topic with it being in this forum)

If its an smf bug at the end of it, then they will move it back for us devs to take a look at.

FMaz

Ok, but, as I said, the page simply reload,
- No error
- The FTP Account is OK

... so I can't see how it could be anything else than a bug.
If you want, I can make a video capture and send it to you.



N3RVE

Is this issue solved or do you still require assistance?

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

FMaz

Yup, I still need a fix. ( or at least an error message or something )

N3RVE

Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

AlenNS

Just to tell that I have same problem here.

Fresh install of RC1 tried to dl serbian utf8 and always get same error message although all the files are writable.

FMaz

Ok, I might have a clue (well, it solved my problem, but I mean: a clue to produce an error message, and not simply refresh the page without any warning)

my FTP was using a different user of thoses defined as the owner of the files.

The files where owned by root, and the FTP session was running with another username.
Result: impossible to chmod the file... even if the FTP was working ok.

Maybe a simple "test" button that would try to chmod a dummy file...

Arantor

Holder of controversial views, all of which my own.


FMaz

No, it's ok for me: I've found and fixed the problem by myself.

... but if the FTP system of SMF was making few more test on the connection and verbose a little bit more about the error, I would have saved a lot of time !

Advertisement: