News:

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

Main Menu

Location Mod

Started by Gobalopper, November 19, 2004, 01:43:12 AM

Previous topic - Next topic

Ravey76

Hello Everybody,

I am gald this fine mod has been finally released. I used "MemberMap" in my "YaBB Gold"-forum.
Now I want to install it to my SMF 1.0 RC2 - but I don't know how ...?

Sorry - never installed a mod to SMF before (*ooops*)   :D
so what is the best way to install this mod? Manually or automatically (I guess this is the meaning of "PacMan").
If I upload the (zipped?? un-zipped??) mod-file to this pac-folder - how do I install the mod?
I already unzipped the mod-file but unfortunately there's no help-file ...

Questions ... questions ...   :)

Can someone give me a short "quick-install-guide"?

Every help appreciated

Thanks a lot,
Ravey76

Oldiesmann

Check out install.txt in that zip file. That will tell you everything you need to know.

Gobalopper

#42
Hey Ravey76,
Here is a step-by-step guide.

1. Goto your admin panel.
2. Click the Package Manager link.
3. Click the Download New Packages link.
4. Goto the Upload a Package section, click browse and find the mod file (zipped) on your hard drive.
5. Click Apply Mod.
6. Check what the mod will be changing and update any permissions that may be required.
7. Click Proceed.
8. Mod installed. :)



Egg,
To change the default map you would edit the MemberMap.php file in the Sources directory. Right now it is set to 12. Goto line 41 and change that value to 11. In the next release that will be a setting you can change from the admin panel.

Ravey76

@ Oldiesman:

Thanks for the hint. Yes there IS such a file, but no install-instructions inside (just information about features & future plans) ...

@ Gobalopper:

Thanks a lot for the install.instructions   :-*

Unfortunately I have some problems with the installation.
I followed all steps you mentioned above; upload succeeds, but then I got a blank page with an error message ("Internal server Error") and installation aborts ...

If I upload that zipped file manually, I even cannot open the packet manager site; as soon as I click on that link in admin panel, I will receive that same error message ...

Access-permissions (package-folder) are all set  to 777 ...

What can I do?

Thanks a lot,
Ravey76

Ravey76

Additional information (I don't know whats important)

PHP-version:  4.3.9
GD-Support: enabled / 2.0.28 compatible  (don't know what that means)
ZIP-Support: enabled
ZLIB support: enabled / version 1.2.1

I saw in an other thread a similar problem. They mentioned there about a "safe mode" of my serverv.
I found following settings about this:

'--enable-safe-mode=yes'
safe_mode On

What does it say?

Heres the whole list:

PHP Core
Directive Local Value Master Value
[...]
safe_mode On On
safe_mode_exec_dir no value no value
safe_mode_extra_uid 0 0
safe_mode_gid Off Off
safe_mode_include_dir /opt/RZphp4/includes /opt/RZphp4/includes
[...]sql.safe_mode Off Off

bcmath
BCMath support  enabled 

bz2
BZip2 Support  Enabled 
BZip2 Version  1.0.2, 30-Dec-2001 

calendar
Calendar support  enabled 

ctype
ctype functions  enabled 

dba
DBA support  enabled 
Supported handlers  gdbm ndbm cdb cdb_make db2 inifile flatfile 

domxml
DOM/XML  enabled 
DOM/XML API Version  20020815 
libxml Version  20611 
HTML Support  enabled 
XPath Support  enabled 
XPointer Support  enabled 
DOM/XSLT  enabled 
libxslt Version  1.1.8 
libxslt compiled against libxml Version  2.6.11 
DOM/EXSLT  enabled 
libexslt Version  1.1.8 

ftp
FTP support  enabled 

gd
GD Support  enabled 
GD Version  bundled (2.0.28 compatible) 
FreeType Support  enabled 
FreeType Linkage  with freetype 
GIF Read Support  enabled 
GIF Create Support  enabled 
JPG Support  enabled 
PNG Support  enabled 
WBMP Support  enabled 
XBM Support  enabled 

gettext
GetText Support  enabled 

iconv
iconv support  enabled 
iconv implementation  libiconv 
iconv library version  1.9 

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1

idn
GNU libidn support enabled
GNU libidn version  0.5.4 

imap
IMAP c-Client Version  2000 

[...]

mcrypt
mcrypt support enabled
version  >= 2.4.x 
Supported ciphers  cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes 
Supported modes  cbc cfb ctr ecb ncfb nofb ofb stream 

Directive Local Value Master Value
mcrypt.algorithms_dir /usr/lib/libmcrypt /usr/lib/libmcrypt
mcrypt.modes_dir /usr/lib/libmcrypt /usr/lib/libmcrypt

mhash
MHASH support  Enabled 
MHASH API Version  20020524 

ming
Ming SWF output library  enabled 
Version  0.3beta1 

mysql
MySQL Support enabled
Active Persistent Links  0 
Active Links  0 
Client API version  4.0.20 

[...]

overload
User-Space Object Overloading Support  enabled 

pcntl
pcntl support enabled

pcre
PCRE (Perl Compatible Regular Expressions) Support  enabled 
PCRE Library Version  4.5 01-December-2003 

posix
Revision  $Revision: 1.51.2.2 $ 

session
Session Support  enabled 
Registered save handlers  files user 

[...]

sqlite
SQLite support enabled
PECL Module version  1.0.3 $Id: sqlite.c,v 1.62.2.25 2004/07/10 12:25:33 wez Exp $ 
SQLite Library  2.8.14 
SQLite Encoding  iso8859 

Directive Local Value Master Value
sqlite.assoc_case 0 0

standard
Regex Library  Bundled library enabled 
Dynamic Library Support  enabled 

[...]

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry
user_agent no value no value

tidy
Tidy support enabled
libTidy Build Date  1st August 2004 

Directive Local Value Master Value
tidy.default_config no value no value

tokenizer
Tokenizer Support  enabled 

wddx
WDDX Support enabled
WDDX Session Serializer  enabled 

xml
XML Support  active 
XML Namespace Support  active 
EXPAT Version  expat_1.95.7 

xslt
XSLT support  enabled 
Backend  Sablotron 
Sablotron Version  1.0.1 
[...]

yats
YATS -- Yet Another Template System

version  0.92 
author  Dan Libby 
homepage  http://yats.sourceforge.net 
open sourced by  Epinions.com 

Directive Local Value Master Value
yats_cache 0 0

zip
Zip support  enabled 

zlib
ZLib Support  enabled 
Compiled Version  1.2.1 
Linked Version  1.2.1 

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Gobalopper

Can you find out what the *upload_max_filesize* setting is in PHP for me?

Ravey76

Sure - here it is:

upload_max_filesize   2M   2M

Your mod is 2,36 mb big. Could this cause the problem?

But if I upload the zip-file manually to the package folder, it doesn't work, too ...

Greetings,
Ravey76

oschikhof

I am really glad that it's finally available  :)
BUT I have a small problem with the installation, in the package manager, I see the package but when I click on apply mod, then I get a modification parse error in step 5.
I have chmod all files and dirs to 777 but it doesn't help.

What I am doing wrong? Sorry for this stupid question....but who can help me out!

Gobalopper

Hmm do you have other mods installed? What file is it giving a parse error on? Or do you mean the error comes up before you even get a listing of the files included in the mod?

oschikhof

#49
No other mods installed...
I am just using the package manager in RC2...
When I click on mods, there's only the new location mod that I can install.
So I click apply mod, then there are some steps shown.
1 to 6.....and 5 gives an error...modification parse error..
the package manager doesn't tell me which file has a parse error...  :(

When I use the file listing all seems to be ok..(gives a long list with files and their sizes)
it just goes wrong when I click apply mod

That's all I know...I already 10 times read this topic to see if somebody else had this problem but for now it seems it is only me  :'(

I have added a printscreen

Egg

Quote from: Gobalopper on November 22, 2004, 12:50:24 PM

Egg,
To change the default map you would edit the MemberMap.php file in the Sources directory. Right now it is set to 12. Goto line 41 and change that value to 11. In the next release that will be a setting you can change from the admin panel.

thank you!

Redeye

When I run the install it gives me "Success" for everything apart from install.php but nothing has changed on the server?

Gobalopper

What version of SMF do you have oschikhof?

Redeye, does the ?action=mm not do anything? Did it say failure for install.php then?

Ravey76, when you upload it by hand it shows up in the package listing?

TheDel

Hey Jesse
(now I really dont wanna go backwards and ask this) but do you have a manual mod for this with an install (for the dbase changes)?

LIke I said Ive been dying for this since you made your SE version.
In fact- we were going back and forth on IM the night you were tweaking it.

If not- no biggie

oschikhof

Quote from: oschikhof on November 23, 2004, 11:25:31 AM
I am just using the package manager in RC2...

So I am using RC2  :)

Redeye

Quote from: Gobalopper on November 23, 2004, 06:33:17 PM
What version of SMF do you have oschikhof?

Redeye, does the ?action=mm not do anything? Did it say failure for install.php then?

Ravey76, when you upload it by hand it shows up in the package listing?

No it was blank across from install.php

I presume the ?action=mm is placed after the normal URL to the forum? Just a screen refresh.

Ravey76

@ Gobalopper:

>"when you upload it by hand it shows up in the package listing?"

No, unfortunately not. As soon as I upload the file by hand, the "package listing" doesn't work anymore > "Internal Server Error",
nothing works. If I delete the file from server, everything works well again ... I guess my server has a problem with the zipped file...

Kind regards,
Ravey76

oschikhof

#57
I have installed a new forum (next to my existing forum) in another map and another prefix for the database. Here also the same modification parse error when I want to install the mod with the package manager..

Why doesn't it work? Has it to do with the php configuration of my provider?
For example:  register_globals  is Off in my providers config.  ::)


I do not understand why it doesn't work...    :'(

[Unknown]

Nothing should be affected by register_globals.  We strongly recommend you keep that off.

Ravey76, souns like your server has no zlib.

-[Unknown]

charlottezweb

Quote from: Redeye on November 24, 2004, 04:33:02 AM
Quote from: Gobalopper on November 23, 2004, 06:33:17 PM
What version of SMF do you have oschikhof?

Redeye, does the ?action=mm not do anything? Did it say failure for install.php then?

Ravey76, when you upload it by hand it shows up in the package listing?

No it was blank across from install.php

I presume the ?action=mm is placed after the normal URL to the forum? Just a screen refresh.

That should be correct.  Your's doesn't bring anything up.  And you didn't get any errors during the install? 

You mention something about "install.php" -- did you get an error there?

Regards,
Jason

Advertisement: