e107 version 0.7 install failed

Status
Not open for further replies.

Vyriix

New Member
Messages
126
Reaction score
0
Points
0
e107 is an impressive entry to the CMS field.

I had no probelms installing and running e107 v 0.617.
However, the latest upgrade of e107 0.7 is a almost complete re-written package. I tested it on my local server and it works with the minimum requirements.

But, it failed on x10hosting server, on upgrading and fresh install. It gives a blank page with no codes parsed. Could somebody enlighten me about this case? Im quite sure it's somewhere in x10hosting's configuration which did not seem to be compatible with e107 v0.7 .

You can grab a copy of this cms at here

Thanks in advanced.
 

Jordan K

[B]tags dont work:([/B]
Messages
1,528
Reaction score
0
Points
0
What is the domain to your hosting account?

*Edit:

e107's Requirements said:
e107 requires a webserver that has PHP 4.3.0 (or newer) and MySQL 3.22 (or newer), contact your host if you're not sure if you have these installed.

If you host your own site you can download PHP and MySQL and install them yourself, both are free.

You will need your MySQL username and password, and a database for content storage. Don't worry if you only have one database, e107 is happy to share it's database with other applications.

e107 requires approximately 2mb of disk space on your server, although this can be reduced down to 0.5mb by removing unused themes etc if you are short of space.

As far as I can see, x10 supports e107, so it's most likely an error you made while installing it on your website.

**EDIT: I have downloaded e107 and quickly installed myself a copy on my account. You can view it here.
 
Last edited:

Vietkid58

Member
Messages
450
Reaction score
0
Points
16
it is not installing it that gives us problems, its upgrading from .6 that gives us problems....
 

Vyriix

New Member
Messages
126
Reaction score
0
Points
0
It gives me a total blank page with no codes at all in view source. Not even the install page shows anything @@"
 

Vyriix

New Member
Messages
126
Reaction score
0
Points
0
Bumping this thread because Jordan also failed to install e107 v0.7 on my account =/. Anyone out there knows how to let it work?
 

Vietkid58

Member
Messages
450
Reaction score
0
Points
16
i dont think the upgrade works right.... i'm not sure but it migt be e107 and not the server
 

Vyriix

New Member
Messages
126
Reaction score
0
Points
0
I've tested on another server with same nix, php, cpanel, apache, mysql version and it works fine in upgrade and installation. However installation gives a total blank page in x10hosting :(

I read about an FAQ article in 1 of the e107's help guides that a wrong server configuration will result in blank pages in installing the latest e107 version.

However it did not state how to configure it >.< any admins can help address this issue?
 
Last edited:

Vyriix

New Member
Messages
126
Reaction score
0
Points
0
=/ dun hijack my post >.< you can get a copy of old versions at sourceforge, but not recommended as their old releases had that so called htmlarea with big exploits.

anyway hope some people will look into this matter asap thanks.
 

Vietkid58

Member
Messages
450
Reaction score
0
Points
16
yeah, i had the previous version and got hacked repeatedly because i couldnt upgrade.... can any admins please helP?
 

Vyriix

New Member
Messages
126
Reaction score
0
Points
0
Ok here it is how I get my e107 v0.7.2 worked on x10hosting. The probelm lies on the buffering in e107 which let x10's server to fail to parsed the code.

Step 1:
- Get a copy of e107 0.7.2

Step 2:
- Go to e107_install/installer_handling_class.php
- Find Line 37
Code:
while (@ob_end_clean());
- Replace with
Code:
// while (@ob_end_clean());  //this is the thing that makes it fail on x10
- Save your file

Step 3:
- Go to class2.php
- Find Line 22
Code:
while (@ob_end_clean());  // destroy all ouput buffering
ob_start();             // start our own.
- Replace with
Code:
//while (@ob_end_clean());  // destroy all ouput buffering, it will fail us at here
//ob_start();             // start our own, stop buffering since we did not destroy it, or it will give special characters in header
- Save your file

Step 4:
- Go to comment.php
- Find Line 288
Code:
ob_end_flush(); // dump the buffer we started
- Replace with
Code:
// ob_end_flush(); // dump the buffer we started, again it will fail you
- Save your file

Step 5:
- Goto install.php
- Find Line 6 to 20
Code:
// setup some php options
ini_set('magic_quotes_runtime',     0);
ini_set('magic_quotes_sybase',      0);
ini_set('arg_separator.output',     '&amp;');
ini_set('session.use_only_cookies', 1);
ini_set('session.use_trans_sid',    0);

//  Ensure thet '.' is the first part of the include path
$inc_path = explode(PATH_SEPARATOR, ini_get('include_path'));
if($inc_path[0] != ".") {
	array_unshift($inc_path, ".");
	$inc_path = implode(PATH_SEPARATOR, $inc_path);
	ini_set("include_path", $inc_path);
}
unset($inc_path);
- DELETE THIS CODE
- Find Line 4
Code:
error_reporting(E_ALL);
- Replace with
Code:
error_reporting(E_ERROR | E_PARSE);
- Find Line 24, 25
Code:
include_once("./{$installer_folder_name}/defaults.php");
include_once("./{$HANDLERS_DIRECTORY}e107_class.php");
- Replace with
Code:
require_once("./{$installer_folder_name}/defaults.php");
require_once("./{$HANDLERS_DIRECTORY}e107_class.php");
- Find Line 33, 34
Code:
include_once("./{$installer_folder_name}/install_template_class.php");
include_once("./{$installer_folder_name}/installer_handling_class.php");
- Replace with
Code:
require_once("./{$installer_folder_name}/install_template_class.php");
require_once("./{$installer_folder_name}/installer_handling_class.php");
- Find Line 36
Code:
include_once("./{$installer_folder_name}/forms_class.php");
- Replace with
Code:
require_once("./{$installer_folder_name}/forms_class.php");
- Find Line 43
Code:
if(!isset($_POST['stage'])) {
- Replace with
Code:
if(!$_POST['stage']) {
- Save

Step 8:
- Go to e107_admin/mailout.php
- Find around line 134
Code:
ob_end_flush();
- Replace with
Code:
// ob_end_flush();
- Save

Step 7:
- Start installing and have fun working your e107 v0.7x on x10hosting

On a side note, if you are using coppermine gallery 1.35c by McFly, you need to edit 1 file too or you will get blank page because of the buffer thinggie.

Step 8 (For coppermine gallery 1.35c to work):
- Open your coppermine_menu/bridge/e107.inc.php
- Find Line 25, 26, 27
Code:
while (ob_get_level() > 1) {
    ob_end_flush(); // Kill extra cpg buffering
}
- Replace with
Code:
//while (ob_get_level() > 1) {
//    ob_end_flush(); // Kill extra cpg buffering
//}
ob_start(); //we killed the buffer start in class2.php, therefore we start buffer here
This will make it work. I found the solution for coppermine myself, the rest on comment.php, class2.php, install.php and installer_handling_class.php were solved by steved from www.e107.org . I took some time to let it work, but it's worth the effort.

- Edited to include proper install.php and mailout.php fix. Left it out in sleepy mode =X
 
Last edited:

Vyriix

New Member
Messages
126
Reaction score
0
Points
0
Sorry I left out install.php and mailout.php
read it again to fix it

For latest 0.7.3 version update, you need to follow the steps as above.

here's my working portal
http://www.fearless-guild.tk
 
Last edited:

Vietkid58

Member
Messages
450
Reaction score
0
Points
16
Vyriix said:
Sorry I left out install.php and mailout.php
read it again to fix it

For latest 0.7.3 version, you need to follow the steps as above.

here's my working portal
http://www.fearless-guild.tk

the code is different for the full install of 0.7.3, at least for the install file....

and this file and directory doesnt exist:
e107_install/installer_handling_class.php
 

Vyriix

New Member
Messages
126
Reaction score
0
Points
0
At the time I was writing this fix, It's still 0.7.2, and I just apply 0.7.3 patch over it.

The full install 0.7.3 is reverted back to old format of 0.61x style of having everything inside install.php. That, you have to figure it out yourself.

Alternatively, you can upload 0.7.2, apply my fix, and install, then apply 0.7.3 patch over.
 
Last edited:

Vietkid58

Member
Messages
450
Reaction score
0
Points
16
ok, thanks, ill try that way

EDIT:, um, do you have a copy of 7.2?

i only have 7.3
 
Last edited:
Status
Not open for further replies.
Top