Jump to content


Corporate Sponsors


Latest News: (loading..)

NodsDorf

Member Since 21 Aug 2004
Online Last Active Today, 00:43
*****

Posts I've Made

In Topic: a few questions

26 May 2012, 17:40

Question 3: Google Feeder http://addons.oscommerce.com/info/4513

The latest upload / version from Jack_mcs

In Topic: Help with a PHP 5.3 error in contact_us.php file

26 May 2012, 06:48

		$send_to_email= str_replace (">", "", $send_email_array[0]);
		$send_to_email= str_replace ("<", "", $send_to_email);

Should accomplish the same thing
Or..
        $send_to_email= preg_replace ("/>/", "", $send_email_array[0]);
        $send_to_email= preg_replace ("/</", "", $send_to_email);

In Topic: I just don't know what to do

25 May 2012, 17:29

Hi Burness

If you want to setup a 2.3.1 store here is what I would do.

Copy all your current files locally or move them to a different directory or both.

Your host says they offer oscommerce so likely they have the 2.3.1 click and install, so I would do that. The most important thing here is you want it to setup a new database, don't let it overwrite your current database if ever asked, and make sure it is named different so there is no chance of that happening. I have never seen a host with click and install overwrite a current installation but I thought I would point it out for the next step.

The next thing you need to do is start moving tables from your v 2.2 database to 2.3.1 database. You want to move the tables that held specific information, like products, products_to_categories, orders, customers, orders_status_history .. I can't think of them all but there is about 12 or so I believe. You can do this with phpMyAdmin in your cpanel, click export then save them as SQL and tick the option that says include Drop or Drop if Exist, for each table. Next you want to import them to the new 2.3.1 database, you may have an import feature in your cpanel, or you can run the SQL statement directly in the SQL tab in phpMyAdmin on the 2.3.1 database.

Now what Chris didn't mention and I think it is important before you make the decision is by doing this, any modifications, add-ons, design, you have done will be lost. You'll have to re-add the add-ons and designs. The plus side of going this route is you'll be running the most recent and most secure version of osc.

The only other option is make all the fixes in Chris's deprecated functions pack, and all the security fixes in the security thread.

I know both aren't that great options but you at least your store will have all the old customers info, orders history's, and product information, which beats starting from scratch.

Converting to 2.3.1 took me a couple days for my work's website, doing the patches and security fixes can be done in a few hours at my experience level.

If you need a better explanation of any of this I would be glad to try and help, I know my instructional writing skills aren't the best so please just ask.

In Topic: Right Hand Box Alignment

25 May 2012, 01:41

Hi Iain

I have installed SEO URL's 5 before and didn't have this problem. I would guess the problem is something you missed / or inserted something improperly in the index.php file (this is the page that controls the category pages) maybe relook at that file and instructions.

In Topic: Help with a PHP 5.3 error in faqdesk_show.php file

25 May 2012, 00:55

Leon yes, that is correct I kept looking at the php and didn't notice the function was actually wrong.

preg_replace is a replace x with y in z function (3 parameters)
preg_match is search for x in y (2 parameters)

My suggestion on adding the , ' ' was only to pass a null parameter to stop the error. Phil, as usual nailed the problem which was we were looking at the wrong function to begin with.