Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

installer is stuck...

Aloittaja traq, lokakuu 29, 2010, 11:21:32 IP

« edellinen - seuraava »

traq

Hi,

I'm trying to make a dev install of SMF on my local machine.

I've got through steps 1 and 2, but the install page won't continue to step 3.  After filling out step 2 and clicking "proceed," the database is created, but the installer returns to the same step (with the default values).  I can't find any evidence of errors, and I can't get to step 3. 

Any ideas?  thanks very much,

Adrian

Bigguy


traq

Hi, Bigguy

I am.

I'm installing on my local development server.  I run xampp for linux.  This is my first experience with SMF.

I also have an update.  The newly created SMF database is logging errors: quite a few similar to

8: Undefined index: latestMember<br />File: /opt/lampp/htdocs/SMF/Sources/Subs.php<br />Line: 3199
8: Undefined index: latestRealName<br />File: /opt/lampp/htdocs/SMF/Sources/Subs.php<br />Line: 3200
8: Undefined index: totalMembers<br />File: /opt/lampp/htdocs/SMF/Sources/Subs.php<br />Line: 3207

I've looked in Subs.php and most of those lines seem to be related to the (global) $modSettings array...  perhaps, somewhere upstream, that array isn't being set successfully?  anyone know where it's created?

Bigguy

These errors with the installer could be due to how you have your server configured. I do not know what is on those lines off hand but it could be code around those lines that is causing it. Not necessarily those specific lines. Have you got it installed now. ???

Bigguy

It could be permissions and ownership of files that is causing the installer to fail after a few steps.

How do I chmod? / what is chmod?

traq

got it...  I couldn't figure out which file/directory, however.  I checked all of the files listed in step one (SMF actually changed them already), and I checked the Sources/ directory and Subs.php ... 

I got it to work by chmod'ing everything, which wouldn't be desirable in a production environment.  Is there a list of file permission requirements anywhere?

Bigguy, thanks for your help!

Bigguy

That's why I'm here...to help out. Glad ya got it man. Chmodding or changing all to 777 is not a security risk like most think. I won't go into that now. Most server environments are ok for SMF to run in without tweaking anything. On local hosts it's a bit different however. Before you pick a real host check out the hosting board here on this forum it will help you decide which to go with. I will mark this solved now for you. :)

traq


Bigguy


Advertisement: