Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Deprecated: Function eregi()


OrcaSoul

Recommended Posts

I'm new to this so excuse any naive questions...

 

I just installed osCommerce, the first time I run the catalog I get a whole lot of errors:

 

Deprecated: Function eregi() is deprecated in C:\xampp\htdocs\oscommerce-2.2rc2a\catalog\includes\classes\language.php on line 87

 

I am using xampp in the following configuration:

 

* Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0

* MySQL client version: 5.1.37

* PHP extension: mysqli

 

I also have the latest release of PEAR + MDB2

 

Is this error a compatibility problem with the above? If so, how do I address it?

 

Also, a couple of quick questions, keeping in mind that I already have a hand coded store that works...to a point, but I'm looking at alternatives because I am not happy with the code, but don't want to spend too much more time fixing it...

 

1) Does osCommerce allow me to reproduce the appearance of the current site (My link)?

 

2) Is the code easily modified by hand in the future? I prefer to hand code, don't have anything like Dreamweaver, but need to get something dependable built in order to get this thing functional. I am a retired programmer (C++ & Python) but am very new to php & mySQL - so the current code is from a book, heavily modified, and I really don't feel I have a functional grasp of the logic or flow of this code.

 

This is one of the open source platforms I am looking at it, so I'd really like to give it a fair test.

 

Thanks.

 

Edit to add, the current site does not have active links to the products - that's what started me looking at shopping carts, which led me here :rolleyes:

Link to comment
Share on other sites

Deprecated: Function eregi() is deprecated in C:\xampp\htdocs\oscommerce-2.2rc2a\catalog\includes\classes\language.php on line 87

 

This is because you are running PHP 5.3, if you search there are a number of threads with solutions.

 

1) Does osCommerce allow me to reproduce the appearance of the current site (My link)?

 

You can reproduce any layout you like, the question is really dependent on how much time you want to spend.

 

2) Is the code easily modified by hand in the future? I prefer to hand code, don't have anything like Dreamweaver, but need to get something dependable built in order to get this thing functional. I am a retired programmer (C++ & Python) but am very new to php & mySQL - so the current code is from a book, heavily modified, and I really don't feel I have a functional grasp of the logic or flow of this code.

 

Since its open source you can use any tools you like, I personally use a combination of Coda and Netbeans but just find the tool which works for you, all the source code is there so learn away.

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

This is because you are running PHP 5.3, if you search there are a number of threads with solutions.

 

Thanks, I'll do some browsing, see what I can find.

 

 

You can reproduce any layout you like, the question is really dependent on how much time you want to spend.

 

That's good to know before I plunge headfirst into yet another "wee project"... (w00t)

 

Since its open source you can use any tools you like, I personally use a combination of Coda and Netbeans but just find the tool which works for you, all the source code is there so learn away.

 

Thanks for the encouragement. Not familiar with Coda, have looked at NetBeans as a replacement for my current editor - Cedit - but retirement has been too busy to allow me to just sit down and dig in...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...