Advertisement:

I can't setup SMF 1.05 on SourceForge.net

Aloittaja kotobuki, tammikuu 07, 2006, 10:58:01 AP

« edellinen - seuraava »

kotobuki

Hello,

I'm new to SMF, and I have been trying to setup SMF 1.05 on hxxp:sourceforge.net [nonactive], but got no luck. I have uploaded all files to htdocs/forum, and did chmod 777 to the following folders/files:

    * attachments
    * avatars
    * Packages
    * Packages/installed.list
    * Packages/server.list
    * Smileys
    * Themes
    * agreement.txt
    * Settings.php
    * Settings_bak.php
    * install.php
    * Themes/default/languages/Install.english.php

After these steps, index.php returns "FTP Connection Information" web page. Since hxxp:sourceforge.net [nonactive] does not support normal FTP connection, I can't use built-in ftp function for setup. I confirmed permisson of these folders/files with both FTP client (WinSCP3) and shell. Of course, I tried clicking "Click here" below "What is this step for?" section,  but no change...

I'm sorry for trouble you, but it would be much appreciated if you give me any suggestions about this issue.

Shigeru

!Hachi!

just want to confirm did you run install.php file?
yousite/install.php   2nd last file from your list.
Happy Ramadan

kotobuki

Lainaus käyttäjältä: hassan - tammikuu 07, 2006, 11:03:14 AP
just want to confirm did you run install.php file?
yousite/install.php   2nd last file from your list.

Yes, I accessed "hxxp:myprojectname.sourceforge.net/forum/install.php [nonactive]" by FireFox 1.5, and a web page titled "SMF Installer" appeared. I'm sorry if I misunderstand what you say "run install.php file."

Anyway, thank you very much for your quick reply.

Shigeru

!Hachi!

after running/accessing install.php just enters details like mysql db username etc and click next and enter admin name and pass and your forum is ready.
Happy Ramadan

kotobuki

#4
Hello,

Lainaus käyttäjältä: hassan - tammikuu 07, 2006, 12:19:12 IP
after running/accessing install.php just enters details like mysql db username etc and click next and enter admin name and pass and your forum is ready.

Thank you very much for your suggestion.

I wanted to do so (I'm sorry if I misunderstand what you suggested), but I couldn't. Let me explain about each steps.

1. open install.php with FireFox 1.5
2. a web page for "FTP Connection Information" appears
3. set proper permissions for suggested files
4. open the URL again
5. still same web page appears
6. click "Click here" link at the bottom of the web page
7. still same web page appears at "install.php?step=0&overphp=true"

Should I access another file manually, or proper DB details page should appear automatically? I tried to open "Settings.php" with the web browser, but forced to redirected to "install.php."

And I forgot to mention about version of PHP and MySQL on hxxp:sf.net [nonactive] server. The versions are as follows:

* PHP 4.3.11
* MySQL 4.1.12

Shigeru

kotobuki

Hello,

I might found a problem.

I checked requirements again in the following web page.

http://www.simplemachines.org/smf/requirements.php

Then I found that upload_tmp_dir is not set on hxxp:sourceforge.net [nonactive]'s environment (appears as "no value"). I tried to override this value by writing as follows in ".htaccess," but it seems to be impossible override this value by ".htaccess."


php_value upload_tmp_dir /tmp


I'm sorry for trouble you, but it would be much appreciated if you let me know a workaround in this case (if possible).


Lainaus käyttäjältä: kotobuki - tammikuu 07, 2006, 08:30:05 IP
Hello,

Lainaus käyttäjältä: hassan - tammikuu 07, 2006, 12:19:12 IP
after running/accessing install.php just enters details like mysql db username etc and click next and enter admin name and pass and your forum is ready.

Thank you very much for your suggestion.

I wanted to do so (I'm sorry if I misunderstand what you suggested), but I couldn't. Let me explain about each steps.

1. open install.php with FireFox 1.5
2. a web page for "FTP Connection Information" appears
3. set proper permissions for suggested files
4. open the URL again
5. still same web page appears
6. click "Click here" link at the bottom of the web page
7. still same web page appears at "install.php?step=0&overphp=true"

Should I access another file manually, or proper DB details page should appear automatically? I tried to open "Settings.php" with the web browser, but forced to redirected to "install.php."

And I forgot to mention about version of PHP and MySQL on hxxp:sf.net [nonactive] server. The versions are as follows:

* PHP 4.3.11
* MySQL 4.1.12

Shigeru

Dannii

Lainaus käyttäjältä: kotobuki - tammikuu 07, 2006, 10:58:01 APAfter these steps, index.php returns "FTP Connection Information" web page. Since SourceForge.net does not support normal FTP connection, I can't use built-in ftp function for setup. I confirmed permisson of these folders/files with both FTP client (WinSCP3) and shell. Of course, I tried clicking "Click here" below "What is this step for?" section,  but no change...
When you say "not support normal FTP" what do you mean by that? SMF needs to do more complex things than just setting Chmod.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

kotobuki

Hello,

Thank you very much for your reply.

What I described as "not support normal FTP" means files should be transferred using SCP, SFTP or rsync over SSH. Is it possible to do "do more complex things" manually?

Thanks,
Shigeru

Lainaus käyttäjältä: eldacar - tammikuu 07, 2006, 11:29:34 IP
Lainaus käyttäjältä: kotobuki - tammikuu 07, 2006, 10:58:01 APAfter these steps, index.php returns "FTP Connection Information" web page. Since hxxp:sourceforge.net [nonactive] does not support normal FTP connection, I can't use built-in ftp function for setup. I confirmed permisson of these folders/files with both FTP client (WinSCP3) and shell. Of course, I tried clicking "Click here" below "What is this step for?" section,  but no change...
When you say "not support normal FTP" what do you mean by that? SMF needs to do more complex things than just setting Chmod.

Dannii

Well that should be fine, I was wondering if you meant they had no FTP or something weird. I'm not sure what's happening sorry.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Kirby

If upload_tmp_dir is not specified, the PHP default value is used (I *believe* this is /tmp).
Try checking the permissions of the directory these files are stored in.

kotobuki

Hello,

Lainaus käyttäjältä: Kirby - tammikuu 08, 2006, 12:18:23 AP
If upload_tmp_dir is not specified, the PHP default value is used (I *believe* this is /tmp).
Try checking the permissions of the directory these files are stored in.

The permission of the parent directory of index.php is '2775,' and same for other directories except for attachments, avatars...

Thanks,
Shigeru

kotobuki

Hello,

I found a serious problem. It seem that writing to local files by a PHP script is inhibited on hxxp:sf.net [nonactive]'s web hosting space (accessing a MySQL server is OK).  :(

So I did as follows:

1. setup PHP and MySQL on an iBook running Mac OS X 10.4
2. install SMF 1.05 to the PC
3. run install.php and did all setup process
4. modify Setup.php on the destination server manually
5. export initial data from local MySQL server, then import on the destination MySQL server

I have a little more things to setup, but it seems that the SMF powered forum is working mostly fine. I should check the very basic restriction at first.

I'm very sorry to confuse, and thank you very much to all of you.

Shigeru


Lainaus käyttäjältä: kotobuki - tammikuu 08, 2006, 12:42:25 AP
Hello,

Lainaus käyttäjältä: Kirby - tammikuu 08, 2006, 12:18:23 AP
If upload_tmp_dir is not specified, the PHP default value is used (I *believe* this is /tmp).
Try checking the permissions of the directory these files are stored in.

The permission of the parent directory of index.php is '2775,' and same for other directories except for attachments, avatars...

Thanks,
Shigeru

H

I don't know how to fix the problem. But I DO know it is definetly possible to run smf of sourceforge as coppermine used to (now they have their own hosting).

If you don't manage to resolve your issues you could PM an admin on the coppermine forums
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

ravuya

#13
Sorry to resurrect the thread. I'm trying to do this myself on hxxp:sf.net [nonactive], and so I hacked up the install.php file to check is_readable and is_writable and give me debug messages.

However, when I run the chmod function, I get an error back that says the filesystem is read-only. This might be some kind of protection hxxp:sf.net [nonactive] has implemented to protect themselves from rampant scripts.

I'm using SMF v1.06, and the hxxp:sf.net [nonactive] servers still don't provide plain old FTP access (SFTP or SCP are your only choices).

LainaaChecking for writability of /home/groups/s/ss/----/htdocs/smf/Packages ...Failed
Warning: chmod(): Read-only file system in /home/groups/s/ss/---/htdocs/smf/install.php on line 1078
... and could not chmod

My suspicion is that their http server is rigged to remount the home directories as read-only whereas the shell server mounts them read-write, to protect against an attack from the web tricking your script into wiping out your home directory.

kotobuki

Hello,

I got answer from hxxp:sf.net [nonactive]. According to the answer, since 2005-08-15 the project web servers
remounting all home directories to read-only for security reasons. That's why we failed to setup SMF on hxxp:sf.net [nonactive]. It's doable to setup SMF manually on hxxp:sf.net [nonactive], but it will be problematic about maintenance work. :(

So I'm looking for another web server for hosting SMF...

Thanks,
Shigeru


Lainaus käyttäjältä: ravuya - helmikuu 24, 2006, 05:00:52 IP
Sorry to resurrect the thread. I'm trying to do this myself on hxxp:sf.net [nonactive], and so I hacked up the install.php file to check is_readable and is_writable and give me debug messages.

However, when I run the chmod function, I get an error back that says the filesystem is read-only. This might be some kind of protection hxxp:sf.net [nonactive] has implemented to protect themselves from rampant scripts.

I'm using SMF v1.06, and the hxxp:sf.net [nonactive] servers still don't provide plain old FTP access (SFTP or SCP are your only choices).

LainaaChecking for writability of /home/groups/s/ss/----/htdocs/smf/Packages ...Failed
Warning: chmod(): Read-only file system in /home/groups/s/ss/---/htdocs/smf/install.php on line 1078
... and could not chmod

My suspicion is that their http server is rigged to remount the home directories as read-only whereas the shell server mounts them read-write, to protect against an attack from the web tricking your script into wiping out your home directory.

Advertisement: