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.
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.
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“.
Now configure the user setup, press „Next“ a few times, and you will be moved to your site.
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
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
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...
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
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
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
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???????
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
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!
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
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
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.
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.
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“.
Now configure the user setup, press „Next“ a few times, and you will be moved to your site.
That’s it
You have successfully installed Diferior
© Mys3lf
Added downloads: 2
Comments: 18
Forum posts: 573
One thing though: do not forget to restart apache after editing httpd.conf and php.ini, otherwise changes will not take effect!
Forum posts: 4
Version:1.7.2
Added downloads: 2
Comments: 18
Forum posts: 573
Make sure mod_rewrite is configured and working properly.
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
Added downloads: 2
Comments: 18
Forum posts: 573
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/
Added downloads: 2
Comments: 18
Forum posts: 573
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
Added downloads: 2
Comments: 18
Forum posts: 573
You're probably using PHP4.
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???????
Added downloads: 2
Comments: 18
Forum posts: 573
<?php phpinfo(); ?>
Run it and confirm your php version.
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!
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
Added downloads: 2
Comments: 18
Forum posts: 573
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