Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * - 17 votes

Quick Install Guide


2365 replies to this topic

#2081 Jan Zonjee

  • Team Member
  • 7,001 posts
  • Real Name:Jan Zonjee
  • Gender:Male
  • Location:the Netherlands

Posted 24 August 2008, 14:16

View PostTehSmile, on Aug 24 2008, 03:25 PM, said:

This appears when i try to backup the store to /admin/backup.
Try Database backup manager instead or simply ignore it (but don't try to choose gzip for compression).

Try also not to use this thread for unrelated topics. Thanks.

P.S. There is a German forum by the way.

#2082 Kymmy

  • Community Member
  • 2 posts
  • Real Name:Kymmy

Posted 28 August 2008, 12:00

Hi Guys,

I've just installed the latest V2 on a windows IIS6 Win2k3 server, everythings gone on OK but after the install I'm still getting the warning that it can write to the config file.

Both configure.php (includes and admin/includes) is set to Read only (write/execute/modify) all denied... Is there a way round this permissions problem or simply can you point me to the file check within the PHP so that I can disable it from there???

ThanX in advance

Kymmy

#2083 Kymmy

  • Community Member
  • 2 posts
  • Real Name:Kymmy

Posted 28 August 2008, 12:39

OK, found the check code in includes\header.php and commented it out

#2084 thekorong

  • Community Member
  • 7 posts
  • Real Name:gundala

Posted 06 September 2008, 05:39

hello i'm new here i hope anyone can help me

I'm doing a new installation and got this error:

Parse error: syntax error, unexpected $end in /home/xxxcom/public_html/store/index.php on line 213

#2085 BryceJr

  • Community Member
  • 1,448 posts
  • Real Name:Bryce

Posted 06 September 2008, 05:53

View Postthekorong, on Sep 6 2008, 05:39 AM, said:

hello i'm new here i hope anyone can help me

I'm doing a new installation and got this error:

Parse error: syntax error, unexpected $end in /home/xxxcom/public_html/store/index.php on line 213
Duplicate post. Thread ---> here

#2086 yourslovingly

  • Community Member
  • 2 posts
  • Real Name:Ling

Posted 06 September 2008, 18:43

Hi, any kind soul could advise if...oscommerce can only be installed to .com domains?
I'm using byethost as webhost + addon .sg domain,
I have uploaded the catalog files/folders into the htaccess of my .sg domain and set all to 755 except the 2 relevant configure.php files to 755 permissions.

I still can't see the www.yourdomain.com/install.....
Please advise? thanks!!

#2087 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 06 September 2008, 21:21

You've probably uploaded the files to the wrong place.

Upload to your main domain, not the alias.

The root web folder is usually called /public_html, or /html, or /htdocs or /apache - if in doubt check with your hosting company.

Vger

#2088 SharleneK

  • Community Member
  • 8 posts
  • Real Name:Sharlene
  • Gender:Female
  • Location:UK

Posted 11 September 2008, 22:01

:blush:

Bear with me, I'm new to OS Commerce and PHP/MySQL in general. Any advice would be appreciated.

*I'm confused by Step 4, not sure how to set permissions to my folders or where to do that.

*I've uploaded the OSCommerce files to my server and created a database server, and then went to yourdomain.com/catalog/install/. I entered the database server name, user name, password, and database name to follow the installation procedure.

While the database structure is being imported, it just hangs. From what I can tell the database has been imported; it looks complete from phpMyAdmin.

It just stays on Step 1 of the installation procedure and doesn't go forward to Step 2.

This is the message I get:
The database structure is now being imported. Please be patient during this procedure.

Any clues to what I should do?

Thanks everyone!
Sharlene K.

Did you hear about the dyslexic agnostic insomniac that stayed up all night wondering if there was a dog?

#2089 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 11 September 2008, 22:38

Install gets stuck on page 2
---------------------------
The most common cause for installation getting stuck in step 2
is that most recent PHP installations have register_long_arrays = OFF
This needs to be turned to ON in the php.ini file (you will need to
stop and restart your server to get this change to take effect.)

Vger

#2090 timfisk

  • Community Member
  • 3 posts
  • Real Name:Tim Fisk

Posted 12 September 2008, 11:34

Hi,

Brand new with all this, but keen to learn. This has probably been covered somewhere else, but not sure where to look.

I've installed the /catalog/ & subdirectories and then ran the install.

1st 3 steps were OK. Got to page 4 telling me I had a successful install. Then I clicked on Admin and I get a screen saying....

"
Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32556 is not allowed to access /tmp owned by uid 0 in /home/gingerne/public_html/catalog/admin/includes/functions/sessions.php on line 165

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/gingerne/public_html/catalog/admin/includes/functions/sessions.php:165) in /home/gingerne/public_html/catalog/admin/includes/functions/sessions.php on line 102

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/gingerne/public_html/catalog/admin/includes/functions/sessions.php:165) in /home/gingerne/public_html/catalog/admin/includes/functions/sessions.php on line 102

Warning: Cannot modify header information - headers already sent by (output started at /home/gingerne/public_html/catalog/admin/includes/functions/sessions.php:165) in /home/gingerne/public_html/catalog/admin/includes/functions/general.php on line 22"

Any help please?

Tim

#2091 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 12 September 2008, 12:18

Read the page before this one.

Vger

#2092 timfisk

  • Community Member
  • 3 posts
  • Real Name:Tim Fisk

Posted 12 September 2008, 14:12

View PostVger, on Sep 12 2008, 10:18 PM, said:

Read the page before this one.

Vger

Thanks!!!!!

#2093 timfisk

  • Community Member
  • 3 posts
  • Real Name:Tim Fisk

Posted 12 September 2008, 22:31

I have it installed and

I went into Admin - worked well - I changed the settings I needed.

That was last night. This morning I went into the store got a couple of error messages on the store side (remove install directory and set configure.php back to 644). Did that and did both c0nfigure.php files.

I went back to the store and got:

Fatal error: Call to a member function add_current_page() on a non-object in /home/gingerne/public_html/catalog/includes/application_top.php on line 312

I changed the configure.php files back to 777, but this did not help.

I searched the forums with some/all of these words and could not find anything?

Help anyone?

Edited by timfisk, 12 September 2008, 22:36.


#2094 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 12 September 2008, 22:36

http://www.google.co.uk/search?sourceid=na...scommerce%2ecom

The Forum Search function is useless. Whilst on the forum enter any error message into the Google Toolbar search box and select the Icon for "Search only on: forums.oscommerce.com"

Vger

#2095 yourslovingly

  • Community Member
  • 2 posts
  • Real Name:Ling

Posted 14 September 2008, 05:56

Yay Vger, thanks! Finally got it up & running. but Can't seem to remove:

Warning Warning: Installation directory exists at: /home/vol5/byethost11.com/b11_2327256/yourslovingly.sg/htdocs/install. Please remove this directory for security reasons.

I've tried setting the folder + its entire subdirectory to chmod 400 already but the warning sign is still there.
Do I really need to delete the entire folder?

Thanks!

#2096 geoffreywalton

  • Community Sponsor
  • 7,729 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 14 September 2008, 07:53

Why would the system tell you this if they didn't honestly believe it?
Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.

For links mentioned in old answers that are no longer here follow this link Useful Threads.

If this post was useful, click the Like This button over there ======>>>>>.

#2097 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 14 September 2008, 13:25

Whilst you leave the install folder in place it IS a security risk. Even if you change permissions on the files within it as long as those files can be served it can be used to overwrite your configure.php files, and your database.

I don't see the point in keeping it online. If you ever need to reinstall your website then all you need do is to upload that one folder again.

It appears that you are just creating problems for yourself where none should exist.

Vger

#2098 highflya

  • Community Member
  • 3 posts
  • Real Name:Drew

Posted 15 September 2008, 05:26

hey everyone,
i think i've followed the instructions, but i can't log-in or create a new accnt. The SSL Certificate is installed on the current server where the website is being hosted.

The web address changes to https:// but then comes up, cant be displayd

this is the admin/includes

<?php
define('HTTP_SERVER', 'http://chixstix.com.au');
define('HTTP_CATALOG_SERVER', 'http://chixstix.com.au');
define('HTTPS_CATALOG_SERVER', 'https://chixstix.com.au');
define('ENABLE_SSL_CATALOG', true);
define('DIR_FS_DOCUMENT_ROOT', '/home/chixstix/public_html/Scart/');
define('DIR_WS_ADMIN', '/Scart/admin/');
define('DIR_FS_ADMIN', '/home/chixstix/public_html/Scart/admin/');
define('DIR_WS_CATALOG', '/Scart/');
define('DIR_FS_CATALOG', '/home/chixstix/public_html/Scart/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', '*********');
define('DB_SERVER_PASSWORD', '*********');
define('DB_DATABASE', '********');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
?>

and this is the includes/

<?php
define('HTTP_SERVER', 'http://chixstix.com.au');
define('HTTPS_SERVER', 'https://chixstix.com.au');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.chixstix.com.au');
define('HTTPS_COOKIE_DOMAIN', 'chixstix.com.au');
define('HTTP_COOKIE_PATH', '/Scart/');
define('HTTPS_COOKIE_PATH', '/Scart/');
define('DIR_WS_HTTP_CATALOG', '/Scart/');
define('DIR_WS_HTTPS_CATALOG', '/Scart/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/home/chixstix/public_html/Scart/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', '********');
define('DB_SERVER_PASSWORD', '*******');
define('DB_DATABASE', '********');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
?>

any tips to solve my prob?

the site is www . chixstix . com . au/Scart . The site looks a mess, so ignore that part
cheers

Edited by Jan Zonjee, 15 September 2008, 20:29.


#2099 BryceJr

  • Community Member
  • 1,448 posts
  • Real Name:Bryce

Posted 15 September 2008, 05:57

Error code -12263 usually means you don't have a ssl cert or your ssl cert is not installed properly.

IMPORTANT: You just made your database information public, a serious security risk.
You better change your log in credentials to your database ASAP, such as RIGHT NOW!!!

Duplicate posts are not allowed. --> Here

It's not unusual to wait several hours to get replies.

This is not a chat room.

View Posthighflya, on Sep 15 2008, 05:26 AM, said:

hey everyone,
i think i've followed the instructions, but i can't log-in or create a new accnt. The SSL Certificate is installed on the current server where the website is being hosted.

The web address changes to https:// but then comes up, cant be displayd

this is the admin/includes

<?php
define('HTTP_SERVER', 'http://chixstix.com.au');
define('HTTP_CATALOG_SERVER', 'http://chixstix.com.au');
define('HTTPS_CATALOG_SERVER', 'https://chixstix.com.au');
define('ENABLE_SSL_CATALOG', true);
define('DIR_FS_DOCUMENT_ROOT', '/home/chixstix/public_html/Scart/');
define('DIR_WS_ADMIN', '/Scart/admin/');
define('DIR_FS_ADMIN', '/home/chixstix/public_html/Scart/admin/');
define('DIR_WS_CATALOG', '/Scart/');
define('DIR_FS_CATALOG', '/home/chixstix/public_html/Scart/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');


and this is the includes/

<?php
define('HTTP_SERVER', 'http://chixstix.com.au');
define('HTTPS_SERVER', 'https://chixstix.com.au');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.chixstix.com.au');
define('HTTPS_COOKIE_DOMAIN', 'chixstix.com.au');
define('HTTP_COOKIE_PATH', '/Scart/');
define('HTTPS_COOKIE_PATH', '/Scart/');
define('DIR_WS_HTTP_CATALOG', '/Scart/');
define('DIR_WS_HTTPS_CATALOG', '/Scart/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_FS_CATALOG', '/home/chixstix/public_html/Scart/');


#2100 highflya

  • Community Member
  • 3 posts
  • Real Name:Drew

Posted 15 September 2008, 06:11

sorry, i didnt know where to put the post...

thanx anyway