Post by junkymonkie » Thu Jul 30, 2009 8:38 pm

Newbie here. I've managed to upload the "upload" folder to my server and have gotten as far as Step 1 on the Pre-installation. Problem: Can't locate Zlib, cURL, ZIP, and my magic quotes gpc appears to be OFF as it should be but is showing ON in the Pre-Installation page.

Could I have the paths to the Zlib, cURL, ZIP and Magic Quotes GPC files please.

And finally, is this what my install - index.php file suppose to look like? or is there more? Thanks for your help.

<?php
// HTTP
define('HTTP_SERVER', 'http://' . $_SERVER['HTTP_HOST'] . substr($_SERVER['PHP_SELF'], 0, (strpos($_SERVER['PHP_SELF'], 'install/'))) . 'install/');
define('HTTP_OPENCART', 'http://' . $_SERVER['HTTP_HOST'] . substr($_SERVER['PHP_SELF'], 0, (strpos($_SERVER['PHP_SELF'], 'install/'))));

// DIR
define('DIR_APPLICATION', str_replace('\'', '/', realpath(dirname(__FILE__))) . '/');
define('DIR_SYSTEM', str_replace('\'', '/', realpath(dirname(__FILE__) . '/../')) . '/system/');
define('DIR_OPENCART', str_replace('\'', '/', realpath(DIR_APPLICATION . '../')) . '/');
define('DIR_DATABASE', DIR_SYSTEM . 'database/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');

// Startup
require_once(DIR_SYSTEM . 'startup.php');

// Loader
$loader = new Loader();
Registry::set('load', $loader);

// Request
$request = new Request();
Registry::set('request', $request);

// Response
$response = new Response();
$response->addHeader('Content-Type', 'text/html; charset=UTF-8');
Registry::set('response', $response);

// Url
Registry::set('url', new Url());

// Document
$document = new Document();
$document->base = HTTP_SERVER;
Registry::set('document', $document);

// Front Controller
$controller = new Front();

// Router
if (isset($request->get['route'])) {
$action = new Router($request->get['route']);
} else {
$action = new Router('step_1');
}

// Dispatch
$controller->dispatch($action, new Router('not_found'));

// Output
$response->output();
?>

Newbie

Posts

Joined
Thu Jul 30, 2009 8:26 pm

Post by wakita » Tue Aug 04, 2009 2:51 pm

looks like make your life easier by reinstall your WAMP server

configuration of PHP extension could also be a lot easier


wakita

Newbie

Posts

Joined
Tue Aug 04, 2009 2:40 pm

Post by yegga » Sun Sep 20, 2009 12:44 am

I have the same problem, and 'reinstalling the WAMP' server is not really a solution for me - I'm on nearlyfreespeech.net.

Help? Do I modify the php.ini file in the /install directory? Or the php.ini file in the root folder? What do I put in there?

Active Member

Posts

Joined
Tue Sep 08, 2009 5:03 am

Post by vimal » Tue Sep 22, 2009 9:34 pm

http://forum.opencart.com/viewtopic.php?f=19&t=5970

step by step instructions on how to install opencart on a local server using xampp

www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel


Active Member

Posts

Joined
Wed Aug 26, 2009 8:54 am
Location - Sweden
Who is online

Users browsing this forum: No registered users and 14 guests