My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Installation  
Installation instructions
Phase-Deploy, Featured
Updated Oct 24, 2011 by samuli.j...@gmail.com

1. Installation

  1. Unzip Mollify installation package (for example with command "unzip mollify_[VER].zip")
  2. Copy extracted directory "mollify" into your web server root directory (or any other place of your choice)
  3. Open installer at address "http://your.host.name/mollify/backend/install/". Installer will guide you through the configuration, for more information see chapter 3.
  4. For database installation, open administration utility to configure users and published folders at "http://your.host.name/mollify/backend/admin/".

2. Upgrading

Upgrading Mollify requires following steps:
  1. Log into Mollify as admin user, and leave the session open for the upgrade process
  2. For backup, move or rename old installation directory "mollify" into different name or location
  3. Copy directory "mollify" from the latest Mollify installation package
  4. From backup, restore "configuration.php" into the new installation directory (as well as other customized files, such as "index.html")
  5. Remove backup directory
  6. Open update utility at address "http://your.host.name/mollify/backend/update/" to check if further update actions are required.

3. Configuration

Mollify requires database, and supports MySQL and SQLite databases.
Start configuration by creating "configuration.php" under directory "mollify/backend", examples can be found in folder "example" in installation package.

Follow instructions based on configuration type:

For additional options, see additional settings on client and backend.

4. Modifying Installation

4.1. Relocating host page or backend interface files

Host page can be located anywhere, the only thing that matters is that backend interface files (*.php) are located under the same directory or in its subdirectories.
If you wish to locate backend interface files (*.php) into a subdirectory, you must define this location in the host html file, with following format:
	<html>
		<head>
			...
			<script type="text/javascript" language="javascript" src="client/init.js"></script>
			<script type="text/javascript">
				mollify.init({
					"service-path": "[RELATIVE_PATH]",
				});
			</script>
		</head>
		...
	</html>
Replace [RELATIVE_PATH] with path to the backend interface files, relative to the host file. Note that path can only descend, you cannot go upwards in the folder hierarchy, and thus all leading dots and slashes are removed ("." and "/").
For example, if you place host file in http://your_host_name/mollify.html and the backend interface files into http://your_host_name/mollify/scripts/, the setting should be as follows:
		<script type="text/javascript">
			mollify.init({
				"service-path": "mollify/scripts",
			});
		</script>

4.2. Relocating client application files

Client application files ("/mollify/client") can be located anywhere, only the javascript and theme css references in the host page must be updated to match the new location. While the location and the name of the client folder can be changed, do not alter its contents.

4.3. Customizing Mollify host page, or integrating Mollify into existing web page

Host page structure can be freely modified, as long as following rules are met:
  • Page must declare charset as UTF-8 with following: <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  • Javascript file "org.sjarvela.Mollify.nocache.js" must be linked
  • In the page, there must be a div with id "mollify". Client application is injected inside this element.
Comment by fauzievo...@gmail.com, Dec 20, 2009

i get this message when install from backend/install/ "MySQLI extension not detected"

How to fix it?

Comment by project member samuli.j...@gmail.com, Dec 22, 2009

MySQLI is required for the installer, and you have to manually create needed tables. See instructions at http://code.google.com/p/mollify/wiki/ConfigurationMySql

Comment by fauzievo...@gmail.com, Dec 24, 2009

well, I've done. and the configuration database has been connected properly.

but when he went into the settings file, there are no folders or files as I have set in configuration.php. how do I fix it?

Comment by project member samuli.j...@gmail.com, Dec 26, 2009

You don't define folders in a static way inside the configuration.php when you are using MySQL configuration, that's for the file configuration.

You should open the configuration utility instead, see instructions at http://code.google.com/p/mollify/wiki/ConfigurationMySql

Comment by e.so...@gmail.com, Jan 8, 2010

I think mollify looks and feels great, but at this point the installation procedure is just too complex for me :(

Comment by project member samuli.j...@gmail.com, Jan 18, 2010

I'd be glad to hear ideas how to improve the instructions, or at least what exactly is too complex about it.

MySQL installation is simple as this: 1) Create configuration.php with database information (as instructed in the link I posted) 2) Open installer and follow instructions it provides 3) Log into Mollify and configure users and folders

Comment by jonnyd1...@gmail.com, Jan 25, 2010

How can I add a tab to search for files in folders?

Comment by m...@bradburn.info, Feb 7, 2010

I agree with the point about installation.

I have unpacked everything, added a configuration file and got to the configure with a confirmation of one published folder.

OK, now what?

If I call the "index.html" in the mollify root folder, nothing happens.

Comment by e.so...@gmail.com, Feb 8, 2010

Noticed you touched up the install process a bit; great job man, thanks a lot! Got $20 with your name on it thanks to that ;) Did a lot of mistakes (not on your fault) during the installation, but it seemed fairly fool-proof.

IMPORTANT: Did notice one little thing though. Once you've selected 'mysql' by inserting it into the config file, you are presented with another example config. I took the liberty of pasting this over my current one as it seemed identical, however, there's a small typo there in the very first <?php bracket. The question mark is on the other side, making the code invalid and the installer bounced back to the mysql step again. Had me stumped for a little while :)

Comment by Mojito...@gmail.com, Feb 8, 2010

I configured it exactly as described but when calling the "index.html" in the mollify root folder, nothing happens, too. It remains an empty white page with the title "Example Mollify Host Page".

Instead I can see the little error-icon in the bottom left corner of the internet explorer: 'b.trace.length' is null or not an object (line 3275, char 143 of file C0124CE45CDE4CAE893E9B15FD55A65E.cache.html).

Comment by angieree...@gmail.com, Feb 22, 2010

extracted everything.....created configuration.php file...and when i point to backend/install this is what i get:

Parse error: parse error, unexpected '{' in /home/content/s/a/n/........./html/......./......./backend/install/index.php on line 21

what did i do wrong? thanks...

Comment by dpks...@gmail.com, Apr 14, 2010

after instalation process finish and page redirected to admin, this error occur +++++++++++++++ Unknown error Invalid response received: {"code":0,"error":"Unknown error: Invalid session param requested: folders","details":""} +++++++++++++++

Comment by JoinTheL...@gmail.com, May 19, 2010

I am getting this error message after install completed. I clicked administration utility and got this error msg...

Unexpected server error PHP error #2, require_once(include/Settings.class.php) [function.require-once]: failed to open stream: No such file or directory (/home/content/b/r/o/.../html/...com/mollify/backend/include/MollifyBackend?.class.php:13)

Comments -> The file and directory (backend/include/MollifyBackend?.class.php) does exist.

### Config ### MYSQL (v.5.0) GoDaddy? Hosting

Comment by Darren.C...@gmail.com, Jun 2, 2010

Hmm, stepping through the installation, I get this: No configuration No proper configuration was found in "configuration.php". Make sure configuration is done according to the instructions below.

I've checked over configuration.php many many times, but without a clue as to what I'm looking for this is frustrating - is it the contents of the file that are incorrect? Perhaps the permissions are wrong so php can't read it?!

I'm setting up a file-based multi-user system. Any clues as to where to start looking for the source of this problem would be awesome!

Comment by hismai...@gmail.com, Jun 2, 2010

I'm stumped. I've installed everything successfully. But when i went to the administration utility page - this is what i got.

Unknown error Invalid response received:

Warning: Cannot modify header information - headers already sent by (output started at /home/exuny/public_html/jitp/backend/configuration.php:8) in /home/exuny/public_html/jitp/backend/include/OutputHandler?.class.php on line 61

what do i do??

any help is appreciated.

Comment by Marcel.J...@gmail.com, Jun 7, 2010

I get the same thing Hismailmd!

Comment by Jygga...@gmail.com, Jun 22, 2010

Marcel.Jepson and hismailmd: remove the ?> at the end of your configuration.php and it will work (this is an issue and should be fixed!)

Comment by mr.no...@gmail.com, Jun 25, 2010

man i really wanted this but the installation is just too complicated, its one error after the other.... ps: the installation notes are not as helpfully as they look, i would adjure you guys to make an installation video.

if anyone got it working with all features intact please contact me, i am really interested in this.

Comment by nogar...@gmail.com, Jul 6, 2010

Hello, I did the installation - but on http://mydomain.com/mollify/admin there appears only a surface to organise users, groups, folders (as an admin). Where can I change (uploads, a.s.o.) styles and other features, is it inside the client-folder ? Thanks

Comment by montecch...@gmail.com, Jul 16, 2010

Hello, First of all many compliments for your application. simply fantastic. Just wondering one thing: you can hide the display of one or more files to users who have no permission on those files? Thanks

Comment by choksing...@gmail.com, Jul 24, 2010

Got it working! KEEP IT UP!!!!!!!!!!

Comment by shivathe...@gmail.com, Jul 30, 2010

i get this error any idea ?

Protocol error

Got malformed JSON response: Warning: Cannot modify header information - headers already sent by (output started at /home/markus/public_html/backend/configuration.php:8) in /home/markus/public_html/backend/include/OutputHandler?.class.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at /home/markus/public_html/backend/configuration.php:8) in /home/markus/public_html/backend/include/OutputHandler?.class.php on line 62 {"code":999,"error":"Unexpected server error","details":"PHP error #2, session_start() [function.session-start<\/a>]: Cannot send session cookie - headers already sent by (output started at \/home\/markus\/public_html\/backend\/configuration.php:8) (\/home\/markus\/public_html\/backend\/include\/Session.class.php:37)"}

Comment by werner...@gmail.com, Aug 5, 2010

I also have the JSON error when opening the admin page. Removing ?> doesn't work. Any help?

Comment by savchenk...@gmail.com, Aug 18, 2010

At last I have finished configuration and published my folders. It was hard indeed while i was searching for a "," missed in the code.

What next, guys? When I go to http://mydomain/mollfy/index.html, nothing happens! Only white screen appears. Somybody knows where to point?

Comment by project member samuli.j...@gmail.com, Aug 26, 2010

Please don't ask questions here, I don't receive any notification when comments are posted. Use discussion for searching answers and asking questions. And troubleshooting wiki has solution to most common errors (like that protocol error)

Comment by hostingp...@gmail.com, Oct 16, 2010

I just installed mollify and it looks great if I could make this run. I keep getting this error message:

Unknown error Invalid response received: {"code":999,"error":"Unexpected server error","details":"PHP error #2048, error_log(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America\/Chicago' for 'CDT\/-5.0\/DST' instead (\/....mollify\/backend\/include\/Logging.class.php:55)"}

ALso, when I login as a user I don't see any upload or similar option.

Am I missing something here?

Thanks!

Comment by Darren.a...@gmail.com, Oct 31, 2010

Thanks a lot for a great script, it's just what I needed. Install went through with no issues although when creating new users it seems to replicate who is user 1 after you have 3 users, and if you edit the user it overwrites the first user (ie Admin in my case) I had to recreate a new admin account whihc overwrote an dexisting account.. very odd.

Comment by varungup...@gmail.com, Nov 21, 2010

I done with installation process now it say "Mollify configuration utility requires admin user logged in" but when i try to log in with my login detail it say Authentication failed I am trying to log in with same user name which i use to sql database

Comment by egon.raa...@gmail.com, Dec 12, 2010

this is the hardest install ei have ever worked with... this needs changing... maybe promting selection not manual editing and adding folders to configuration file...???

Comment by sanlinht...@gmail.com, Jan 26, 2011

I found this error when I delete file and remove files, I used it in Ubuntu server 10.04. Any solution for me? Please help me...

Details PHP error #2, unlink(/var/www/administrator/server3/backend/Images/image003.jpg): Permission denied (/home/administrator/public_html/server3/backend/include/filesystem/LocalFilesystem?.class.php:224)

Comment by gwx...@gmail.com, Apr 21, 2011

Here's what I keep getting: Unknown error Invalid response received: No input file specified.

this error keeps popping up after I create a username and password. Been at it for hours. Not sure where the problem lies.

Any suggestions?

Comment by EdmundoU...@gmail.com, May 24, 2011

Hola tengo este mensage al instalar mollify en un win server 2003, que puedo hacer??

Mollify cannot be installed to this system when MySQL is not available. Check your system configuration or choose different configuration type.

gracias por su ayuda

Comment by EdmundoU...@gmail.com, May 24, 2011

cuando trato de revisar la instlacion o reiniciarla me aparece este error

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\PHPlocal\mollify\backend\configuration.php:9) in C:\Inetpub\wwwroot\PHPlocal\mollify\backend\include\Session.class.php on line 37

ayuda por favor... saludos!!

Comment by demetriu...@gmail.com, May 26, 2011

OMG, smth. is wrong with installation.

After step "MySQL Database Configuration" it goes back to previous step... over and over again.

Database settings are correct. What does it mean?

Comment by d33jay....@gmail.com, Jun 29, 2011

tengo el siguiente error

Could not connect to database Could not connect to database (host=, user=xxxxxxxxx, password=xxxxxxx), error: 2002/Can't connect to local MySQL server through socket '/tmp/mysql5.sock' (2)

la configuracion esta correcta ya que tengo un sistema joomla instalado con la misma config..

alguien que me pueda ayudar

Comment by matt.sep...@gmail.com, Jul 1, 2011

This fixed error 2002 for me:

$DB_SOCKET = "/tmp/mysql.sock";

I got the location from: /private/etc/php.ini

Comment by gwx...@gmail.com, Mar 5, 2012

Unknown error Invalid response received: No input file specified. Keep getting this on Godaddy servers. Using php5.2 and hosting configuration 2.2. Any ideas how to fix?? Thanks.


Sign in to add a comment
Powered by Google Project Hosting