Diferior CMS on steroids
+2831 / 9095894 ( online 25 )

Installation in localhost


Avatar
Forum posts: 6
Mys3lf (Junior member) @ 07 12 15 - 11:47:09 (edited 08 03 08 - 21:03:41)
In this tutorial I will show you, how to install and configure Diferior CMS in your localhost

Step 1
Create a new database:

Go to PhpMyAdmin.
First write the decided database name in the box under „Create new database“. I chose „diferior“.
Then select the language type for your database. For now it will be utf8_unicode_ci. You can change it later.

Image

And push the „Create“ button.
After that you will get a message „Database diferior has been created.“

Step 2
Configure your localhost:

If you are using WAMP, you should press the WAMP icon on the right side of your screen, and in the popup window roll your mouse over the „Config files“ section.

Image

Then select „httpd.conf“.
Now lookup this line:
#LoadModule rewrite_module modules/mod_rewrite.so
Change it to:
LoadModule rewrite_module modules/mod_rewrite.so

Now you will not get „500 Internal server error“ while trying to go to your localhost.

---

OK, now go to the second part. Go to „Config files“ again, and now choose „php.ini“

Lookup this line:
;extension=php_gd2.dll
Change it to:
extension=php_gd2.dll

Now you can see the captcha code, so you can register some test (or other) members.

---

Basically, it’s very easy. If you’re not using WAMP, you will have to find „httpd.conf“ and „php.ini“ manually. But the changes will be the same, fix the lines and you’re ready to go :)

Step 3
Installation:

Go to „localhost“ with a web browser. Now you should see the installation page. At the top of the screen it says „Step 1/7“, in the center there is a table with some text. Press „Next“ button at the bottom of the table. Now you will see the CHMOD window, all of the directories should be marked as PASS. Press „Next“ one more time. The page you see now is the MySQL setup. Its easy, jus change „diferior_user“, to „root“. Then write your database name and again, press „Next“.

Image

Now configure the user setup, press „Next“ a few times, and you will be moved to your site.

That’s it

Image

You have successfully installed Diferior :) Enjoy

© Mys3lf
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 07 12 15 - 11:55:03
Excellent tutorial, thank you!

One thing though: do not forget to restart apache after editing httpd.conf and php.ini, otherwise changes will not take effect!
Comments: 7
Forum posts: 4
fcUk (Junior member) @ 07 12 15 - 15:53:15
Good tutorial ^_^ Keep it up :DD
Forum posts: 4
Touch-Money (Beginner) @ 07 12 16 - 02:56:37
Amazing! Thank you for this since that was my my main reason behind getting this product. You just did the easy work for me so I can be lazy now :D
Avatar
Forum posts: 3
lets_dance (Beginner) @ 07 12 16 - 14:42:35
Mys3lf, are you using wamp5 version or wampserber2? 0_0
Avatar
Forum posts: 6
Mys3lf (Junior member) @ 07 12 17 - 14:39:09
Wamp 5
Version:1.7.2
Forum posts: 1
FDisk (Beginner) @ 08 03 01 - 15:24:44
I'm getting „Internal Server Error“
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 03 02 - 00:13:05
I'm getting „Internal Server Error“
Make sure mod_rewrite is configured and working properly.
Forum posts: 4
tekstylez (Beginner) @ 08 03 10 - 22:39:38
and if we are not using wamp?

I have a VPS which uses WHM and cpanel.... I have uploaded all files to the server and tried to run intall/installer.php and I got the following error...

Parse error: syntax error, unexpected T_NEW in /home/freaks/public_html/install/installer.php on line 33
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 03 10 - 23:04:21
Make sure your VPS has PHP 5.2 or newer. It should work fine without any additional setup.
Forum posts: 1
LRN (Beginner) @ 08 03 13 - 05:35:52 (edited 08 03 13 - 07:21:20)
Go to „localhost“ with a web browser. Now you should see the installation page.

It shows nothing :(
I traced the source a bit and found out that it fails somewhere in
installer.php:
$url = & core::load_file ( 'url' );
core.php:
self::$objects [ $file ] = new $file () ;

I.e. it jumps into it (constructor in url.php works to the end) but never comes out.

After i enabled error displaying, it showed this:

Fatal error: Trying to clone an uncloneable object of class error in C:\Diferior\error.php on line 69

So i added print($e); before the call to display_error(), and discovered that error is

exception 'error' with message 'Implicit cloning object of class 'url' because of 'zend.ze1_compatibility_mode' (#2048) in C:\Diferior\core.php on line 62' in C:\Diferior\error.php:56 Stack trace: #0 C:\Diferior\core.php(62): error::php_error_handler(2048, 'Implicit clonin...', 'C:\Diferior\cor...', 62, Array) #1 C:\Diferior\install\installer.php(35): core::load_file('url') #2 C:\Diferior\index.php(135): require_once('C:\Diferior\ins...') #3 {main}

Tried turning zend.ze1_compatibility_mode = On, didn't worked.

PHP 5.2.5
Apache 2.2
Windows (obviously)

EDIT-----------------------
Oh, well...i forgot that i have my php.ini in /apache/ , not in /apache/php/ :) Switched off zend compatibility, now it displays SOMETHING...
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 03 13 - 12:55:05
What PHP version are you using?
Forum posts: 4
tekstylez (Beginner) @ 08 04 01 - 03:47:10 (edited 08 04 01 - 03:48:10)
Make sure your VPS has PHP 5.2 or newer. It should work fine without any additional setup.
So it should just work? With no additional installation steps?

this is what i get after simply uploading the files to my server and creating the db

Parse error: syntax error, unexpected '{' in /home/freaks/public_html/index.php on line 120
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 04 01 - 09:24:28
Parse error: syntax error, unexpected '{' in /home/freaks/public_html/index.php on line 120
You're probably using PHP4.
Forum posts: 1
iob (Beginner) @ 08 05 30 - 19:04:40 (edited 08 05 30 - 19:27:44)
Parse error: syntax error, unexpected '{' in /home/freaks/public_html/index.php on line 120
You're probably using PHP4.

i also have the same problem and i'm using the easyphp preinstalled tools,and i think it use the php5........
any help???????
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 05 31 - 14:24:14
Create phpinfo.php file with this:
<?php phpinfo(); ?>

Run it and confirm your php version.
Avatar
Forum posts: 2
asUwant (Beginner) @ 08 09 27 - 10:02:06
Well. Actually two more things to know newbie Linux users like me:
1) You should install php GD first before enabling it:
sudo apt-get install php5-gd
then restart apache:
sudo /etc/init.d/apache2 restart
2) Enabling php gd in php.ini with path /etc/php5/apache2/php.ini should contain the following uncommented string:
extension=php2_gd.so
not DLL =)
Hope it'll help some1!
Forum posts: 2
dragz (Beginner) @ 08 10 18 - 07:31:22
Im using wamp 2, I followed the instructions and I get

Warning: require_once(./requirements.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\Diferior_v8.03\index.php on line 34

Fatal error: require_once() [function.require]: Failed opening required './requirements.php' (include_path='.;C:\php5\pear') in C:\wamp\www\Diferior_v8.03\index.php on line 34

It will be great if you could help me :)
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 10 18 - 18:45:39
Check if requirements.php exists at the root of your installation. If not, re-upload everything.
Forum posts: 1
flasktratt (Beginner) @ 09 07 31 - 16:27:00 (edited 09 07 31 - 16:43:55)
Hey, this thread is quite old. But I try my luck here anyways. Why do I get this message after the installation succeeded:

Function set_magic_quotes_runtime() is deprecated (#8192) in \functions\pear\Cache\Lite.php on line 716

I got php 5.3
apache 2.2
and mysql 5.1

Thanks in advance! :)

EDIT: When I deleted the „set_magic_quotes_runtime()“ line it worked :o
« Previous 1-20 21-40 Next »