how to "hand install" MS3 Alpha 3
#1
Posted 03 September 2006, 19:04
The auto installation does not work on my server. I can't get access to the SQL server due to the server setup.
I am used to hand installed MS2.2. So I tried to do that with this alpha release. I loaded the code. I created the database and I loaded the sample data.
But it falls over.
Notice: Use of undefined constant MODULE_SERVICES_INSTALLED - assumed 'MODULE_SERVICES_INSTALLED' in /home/ozeworks/public_html/demo/MS3/oscommerce/includes/classes/services.php on line 20
I am guessing I missed some site setup in the installation. So how do I work around this?
thanks
Kym
#2
Posted 03 September 2006, 21:23
#4
Posted 06 September 2006, 13:42
We'll look into providing a "dump" of a clean database installation to remedy this, but will not be an official installation means due to the need of a default store administrator account.
osCommerce, Sell With Emotion
#5
Posted 08 September 2006, 12:11
If the installation script changes some field values, do some of these fields contain MD5 encyption? If so, I assume that the default login set up when you use the installation script can be changed once within the admin tool, so having a dump with a standard login is fine to have, just would need to update the login info....
cheers,
Peter M
-----------------------------
See my Profile (click here) for more information and to contact me for professional osCommerce support that includes SEO development, custom development and security implementation
#6
Posted 22 October 2006, 23:30
-jared
#7
Posted 24 October 2006, 08:15
#9
Posted 06 November 2006, 12:54
#10
Posted 09 November 2006, 03:35
RL2000, on Nov 6 2006, 07:54 AM, said:
Perhaps. I have not seen the nature of the data that gets added to the db as part of the installation, but it stands to reason that the main point of putting it in as part of the installation has to do with some choices that are made during the install. It follows that one data set then does not fit all installations as it has done in the past.
IOW, if the end result of this iteration of osCommerce is that there is no longer a "generic" data set that can be used for a quick setup of a new site, then every site will have to be installed.
That concern, good sir, is quite different from lazy reluctance to do a one-time install and subsequent backup.
-jared
Edited by jcall, 09 November 2006, 03:36.
#11
Posted 09 November 2006, 07:14
In any case it would just be a matter of looking what data is created by the install script and looking into what changes you have to make for each site, if any. My guess is that some changes are merely chioces, so if you choose som default ones to begin with like admin account etc. that should do it for you.
No matter what, it's either very simple to do yourself or not possible, but as Harald did write they would provide a dump, then I can't really see what should keep you back from doing the same.
Anyone who has this concern should probably take a look at what's being done instead of waiting for a dump from Harald.
#12
Posted 09 November 2006, 12:49
#13
Posted 09 November 2006, 12:54
RL2000, on Nov 9 2006, 02:14 AM, said:
I've found the install procedure to be very smooth and very quick on properly configured servers.
Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
#14
Posted 14 November 2006, 14:54
Yes I can get a dump of a standard osC install and just use it, this is not a huge deal to do.
How about this instead, how about a list of changed values (ie what the script changes due to code inserting data) so then others can have two dumps, one which is standard to all shops, and the second being an update to the data which is changed via scripting changes from the install process.
Yes, I know I can go through all of the code to figure this out, but if an existing list is already present, then I would just use it and save me some time (after all that is what Open Source is about as well
cheers,
peter M
-----------------------------
See my Profile (click here) for more information and to contact me for professional osCommerce support that includes SEO development, custom development and security implementation
#15
Posted 14 November 2006, 19:40
#16
Posted 20 November 2006, 14:25
After the osCommerce 3.0a4pre installation process, I realised that the tables hadn't been created. I installed the tables manually using the oscommerce.sql file. Then, the admin section worked perfectly, I could read and write data :-).
But I can't access to the catalog area (blank page). :-(
In the Apache error log :
[error] [client ] PHP Notice: Use of undefined constant MODULE_SERVICES_INSTALLED - assumed 'MODULE_SERVICES_INSTALLED' in /usr/local/htdocs/includes/classes/services.php on line 20 [error] [client ] PHP Warning: startservice(includes/services/MODULE_SERVICES_INSTALLED.php) [<a href='function.startservice'>function.startservice</a>]: failed to open stream: No such file or directory in /usr/local/htdocs/includes/classes/services.php on line 49 [error] [client ] PHP Warning: startservice() [<a href='function.include'>function.include</a>]: Failed opening 'includes/services/MODULE_SERVICES_INSTALLED.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/local/htdocs/includes/classes/services.php on line 49 [error] [client] PHP Fatal error: Call to a member function on a non-object in /usr/local/htdocs/index.php on line 17
My mysql error log is empty.
I'm using mySQL 5 and PHP 4.4














