I just got this email from some one trying to install opencart:
Hi,
the installation script does not work
my dir is /var/www/opencart
into browser is localhost/opencart
Best regards.
MAX
I recommend adding a trailing slash to the end of the directory field!
from:
/var/www/opencart
to:
/var/www/opencart/
Please let me know if any one else is having this problem!
Hi,
the installation script does not work
my dir is /var/www/opencart
into browser is localhost/opencart
Best regards.
MAX
I recommend adding a trailing slash to the end of the directory field!
from:
/var/www/opencart
to:
/var/www/opencart/
Please let me know if any one else is having this problem!
OpenCart®
Project Owner & Developer.
Hello,
I have a same problem. My temp directory is like this
http://localhost/radni/opencart/
C:/server/xampp/htdocs/radni/opencart/
I've put trailing slashes at the and but still the same problem. Installation interface come up but after I fill in all the fields and press "Continue" button, look what showes up in browser adress bar
http://localhost/install/index.php
And there is nothing!
Maybe someone is willing to give me the config.php example.
Thanks!
Bojan
I have a same problem. My temp directory is like this
http://localhost/radni/opencart/
C:/server/xampp/htdocs/radni/opencart/
I've put trailing slashes at the and but still the same problem. Installation interface come up but after I fill in all the fields and press "Continue" button, look what showes up in browser adress bar
http://localhost/install/index.php
And there is nothing!
Maybe someone is willing to give me the config.php example.
Thanks!
Bojan
Hi,
Yes the intall.php writes the information to config.php.
I will try to address this issue on the next release.
You can copy the information I have written above into the config.php for both catalog and admin.
Also I have only tested the install on linux and apache. You can trying downloading wamp and installing it on windows.
Has anyone got v0.6 working yet?
This is how my config is set up:
Yes the intall.php writes the information to config.php.
I will try to address this issue on the next release.
You can copy the information I have written above into the config.php for both catalog and admin.
Also I have only tested the install on linux and apache. You can trying downloading wamp and installing it on windows.
Has anyone got v0.6 working yet?
This is how my config is set up:
OpenCart®
Project Owner & Developer.
I have linux Ubuntu server 6.06 with apache2 and php4+mysql5 but the install script don't workDaniel wrote:
Also I have only tested the install on linux and apache. You can trying downloading wamp and installing it on windows.
If it does not work I cannot begin the translation.
Moreover I can try also on serveur windows with xammp when the install works :)
Ciao.
MAx
I try copy configuration to config.php and setting to my local website but i found a lot of error. I use php 5 on my local PC. The error is " cannot modify header information, header already sent. bla... bla...bla.. on file:..../session.php"
Maybe it cause function session start(); but i dont know how to correct it.
Maybe it cause function session start(); but i dont know how to correct it.
I can come up with another relase maybe 2 weeks. I currently have a lot of work on that needs finishing next week.bojan wrote: I've tryed everything but with no progress!
Daniel, can You please tell us when we can expect new installer?
Thanks
The problem is I need to do alot of testing to get the install script working properly. I think the problem ishow peoples php.ini is set up.
I will look at other peoples script to see what the best methods to use.
I'm going to make another post with code people can just copy into config.php to get opencart working.
Last edited by Daniel on Sat Nov 18, 2006 2:21 pm, edited 1 time in total.
OpenCart®
Project Owner & Developer.
cannot modify header information normally means that the is an error that has come up before the session_start function is set.nicefirework wrote: I try copy configuration to config.php and setting to my local website but i found a lot of error. I use php 5 on my local PC. The error is " cannot modify header information, header already sent. bla... bla...bla.. on file:..../session.php"
Maybe it cause function session start(); but i dont know how to correct it.
I think the problem is the directories are not setup properly. Is there any other error messages?
Last edited by Daniel on Sat Nov 18, 2006 2:18 pm, edited 1 time in total.
OpenCart®
Project Owner & Developer.
Yes, there is another error, this the copy of the error :
Warning: Cannot modify header information - headers already sent by (output started at k:\localhost\htdocs\opencart\config.php:25) in K:\localhost\htdocs\opencart\include\session.php on line 16
Warning: Cannot modify header information - headers already sent by (output started at k:\localhost\htdocs\opencart\config.php:25) in K:\localhost\htdocs\opencart\include\language.php on line 46
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in K:\localhost\htdocs\opencart\include\language.php on line 74
Warning: Cannot modify header information - headers already sent by (output started at k:\localhost\htdocs\opencart\config.php:25) in K:\localhost\htdocs\opencart\include\currency.php on line 48
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in K:\localhost\htdocs\opencart\include\language.php on line 58
I dont know what its mean.
Warning: Cannot modify header information - headers already sent by (output started at k:\localhost\htdocs\opencart\config.php:25) in K:\localhost\htdocs\opencart\include\session.php on line 16
Warning: Cannot modify header information - headers already sent by (output started at k:\localhost\htdocs\opencart\config.php:25) in K:\localhost\htdocs\opencart\include\language.php on line 46
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in K:\localhost\htdocs\opencart\include\language.php on line 74
Warning: Cannot modify header information - headers already sent by (output started at k:\localhost\htdocs\opencart\config.php:25) in K:\localhost\htdocs\opencart\include\currency.php on line 48
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in K:\localhost\htdocs\opencart\include\language.php on line 58
I dont know what its mean.
Here it goes admin/config.php
// HTTP
define('HTTP_SERVER', 'http://localhost/opencart/admin/');
define('HTTP_CATALOG', 'http://localhost/opencart/catalog/');
define('HTTP_IMAGE', 'http://localhost/opencart/image/');
// HTTPS
define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');
// DIR
define('DIR_IMAGE', '/var/www/opencart/image/');
define('DIR_CACHE', '/var/www/opencart/cache/');
define('DIR_INCLUDE', '/var/www/opencart/include/');
define('DIR_LANGUAGE', '/var/www/opencart/admin/language/');
define('DIR_MODULE', '/var/www/opencart/admin/module/');
define('DIR_PLUGIN', '/var/www/opencart/admin/plugin/');
define('DIR_TEMPLATE', '/var/www/opencart/admin/template/');
// Catalog
define('DIR_CATALOG_TEMPLATE', '/var/www/opencart/catalog/template/');
define('DIR_CATALOG_LANGUAGE', '/var/www/opencart/catalog/language/');
define('DIR_CATALOG_SERVICE', '/var/www/opencart/catalog/service/');
// Database
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', 'xxxxxx');
define('DB_DATABASE', 'opencart');
?>
It would like that it had the option not to activate the Error: register_globals is enabled!
Here in Brazil the majority of the lodging servers has register_globals = ON
Daniel sees what it can make to solve!
// HTTP
define('HTTP_SERVER', 'http://localhost/opencart/admin/');
define('HTTP_CATALOG', 'http://localhost/opencart/catalog/');
define('HTTP_IMAGE', 'http://localhost/opencart/image/');
// HTTPS
define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');
// DIR
define('DIR_IMAGE', '/var/www/opencart/image/');
define('DIR_CACHE', '/var/www/opencart/cache/');
define('DIR_INCLUDE', '/var/www/opencart/include/');
define('DIR_LANGUAGE', '/var/www/opencart/admin/language/');
define('DIR_MODULE', '/var/www/opencart/admin/module/');
define('DIR_PLUGIN', '/var/www/opencart/admin/plugin/');
define('DIR_TEMPLATE', '/var/www/opencart/admin/template/');
// Catalog
define('DIR_CATALOG_TEMPLATE', '/var/www/opencart/catalog/template/');
define('DIR_CATALOG_LANGUAGE', '/var/www/opencart/catalog/language/');
define('DIR_CATALOG_SERVICE', '/var/www/opencart/catalog/service/');
// Database
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', 'xxxxxx');
define('DB_DATABASE', 'opencart');
?>
It would like that it had the option not to activate the Error: register_globals is enabled!
Here in Brazil the majority of the lodging servers has register_globals = ON
Daniel sees what it can make to solve!
register_globals is a major security problem that is being removed completely as of PHP6. By default it is set to off on PHP5.
Last edited by Daniel on Mon Nov 20, 2006 4:41 pm, edited 1 time in total.
OpenCart®
Project Owner & Developer.
People having trouble with there config.php should try copying and pasting this code into there catalog config.php
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://' . $_SERVER['HTTP_HOST'] . '/');
define('HTTP_IMAGE', HTTP_SERVER . 'image/');
// HTTPS
define('HTTPS_SERVER', 'http://' . $_SERVER['HTTP_HOST'] . '/');
define('HTTPS_IMAGE', HTTPS_SERVER . 'image/');
// DIR
define('DIR_IMAGE', $_SERVER['DOCUMENT_ROOT'] . '/image/');
define('DIR_CACHE', $_SERVER['DOCUMENT_ROOT'] . '/cache/');
define('DIR_INCLUDE', 'include/');
define('DIR_SERVICE', 'catalog/service/');
define('DIR_LANGUAGE', 'catalog/language/');
define('DIR_MODULE', 'catalog/module/');
define('DIR_PLUGIN', 'catalog/plugin/');
define('DIR_TEMPLATE', 'catalog/template/');
// Database
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'Put you database username here!');
define('DB_PASSWORD', 'Put you database password here!');
define('DB_DATABASE', 'Put you database name here!');
?>
OpenCart®
Project Owner & Developer.
Admin Config:
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://' . $_SERVER['HTTP_HOST'] . '/admin/');
define('HTTP_CATALOG', 'http://' . $_SERVER['HTTP_HOST'] . '/');
define('HTTP_IMAGE', HTTP_CATALOG . 'image/');
// HTTPS
define('HTTPS_SERVER', 'http://' . $_SERVER['HTTP_HOST'] . '/admin/');
define('HTTPS_IMAGE', HTTP_CATALOG . 'image/');
// DIR
define('DIR_IMAGE', $_SERVER['DOCUMENT_ROOT'] . '/image/');
define('DIR_CACHE', $_SERVER['DOCUMENT_ROOT'] . '/cache/');
define('DIR_INCLUDE', '../include/');
define('DIR_LANGUAGE', 'language/');
define('DIR_PLUGIN', 'plugin/');
define('DIR_MODULE', 'module/');
define('DIR_TEMPLATE', 'template/');
// Catalog
define('DIR_CATALOG_TEMPLATE', '../catalog/template/');
define('DIR_CATALOG_LANGUAGE', '../catalog/language/');
define('DIR_CATALOG_SERVICE', '../catalog/service/');
// Database
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'Put you database username here!');
define('DB_PASSWORD', 'Put you database password here!');
define('DB_DATABASE', 'Put you database name here!');
?>
OpenCart®
Project Owner & Developer.
Yes that is correct!ms7of9 wrote: hi daniel,
so we can't use it if we have register globals enabled? that's the error i'm getting.
thanks
7
register globals are very bad to have enabled and makes it very hard to protect against hacking attempts!
OpenCart®
Project Owner & Developer.
Who is online
Users browsing this forum: No registered users and 25 guests