Search found 19688 matches

Search found 19688 matches

Re: MySQL Script error on install v0.7.8

Perhaps you could append it to the config:

define('DB_PREFIX', 'beta_');
define('DB_NAME', DB_PREFIX . 'opencart');

(haven't tested if that is the correct syntax)

Jump to post
  • Tue Aug 05, 2008 10:19 pm
  • Replies 4
  • Views 2285
Re: Install: Session.auto_start problem

hm2k wrote: Show us your phpinfo()...
sounds kinky! 
Not without dinner and a movie first!!
:D

Jump to post
  • Tue Aug 05, 2008 10:15 pm
  • Replies 7
  • Views 4965
Re: Database Names

You could do if statements to workout what the URLs should be, but this depends on your level of understanding of PHP. True, but how complex do we want to make this. You could probably even do the logic right in the config.php file (in fact you'd probably have to since they are define constants). B...

Jump to post
  • Tue Aug 05, 2008 10:15 pm
  • Replies 8
  • Views 8712
Re: Database Names

urls would of course. You can't have your cake and eat it :)

But at least the database stuff would be the same because localhost would be relative to the server you are on.

Jump to post
  • Tue Aug 05, 2008 6:10 pm
  • Replies 8
  • Views 8712
Re: Database Names

Yes.

If you want to have the same files on both local and remote, and not have to change the config files each time, then yea you can change your local db to the same name/user/pass and it will work seamlessly.

Jump to post
  • Mon Aug 04, 2008 9:10 pm
  • Replies 8
  • Views 8712
Re: http://www.7store.net

Very professional looking. GJ!

Jump to post
  • Mon Aug 04, 2008 8:22 pm
  • Replies 9
  • Views 5255
Re: Database Names

Dave,

I assume you mean that you are using a dbname like "opencart" and your host wants to prefix your sitename like "davesite_opencart"

Can't you just upload everything, import your sql and then rename the dbname in the config.php and admin/config.php? You shouldn't have to do a reinstall.

Jump to post
  • Mon Aug 04, 2008 8:20 pm
  • Replies 8
  • Views 8712
Re: Install: Session.auto_start problem

Try installing an older version of OC and see if that works. Maybe it's at a certain version that it breaks. It could also be that your other forums don't use the auto_start feature so they were never affected.

Jump to post
  • Sun Aug 03, 2008 11:45 pm
  • Replies 7
  • Views 4965
Re: Tracking search results

Could just add a search history table that gets appended whenever the search button is clicked with the ip, search string, etc. That shouldn't be too hard. I'll take a look.

Jump to post
  • Sun Aug 03, 2008 11:43 pm
  • Replies 7
  • Views 1810
Re: Easy way to edit product options in database or table?

But I only like your part of it  ;D ;D Plus I can't attest for the spanish language part

Jump to post
  • Sun Aug 03, 2008 6:59 am
  • Replies 12
  • Views 3507
Re: Install: Session.auto_start problem

Try a new host maybe? Just to see if it something weird about that one host or a repeatable problem.

Jump to post
  • Sat Aug 02, 2008 10:09 pm
  • Replies 7
  • Views 4965
Re: Easy way to edit product options in database or table?

I actually got it working perfectly. I even got it to work with my override system so that I don't replace any of the main files. This isn't a full answer though, as the menu system needs some sort of extensible way of adding menus to the existing menu without replacing the menu file each time. That...

Jump to post
  • Sat Aug 02, 2008 10:06 pm
  • Replies 12
  • Views 3507
Re: Easy way to edit product options in database or table?

Take a look at J.Neuhoff's Export/Import contribution . That might help. It allows you to import an excel file of products so you can easily add them without having to delve into the sql. The sql is somewhat separated with product description in one table and images in another. They are joined at ru...

Jump to post
  • Sat Aug 02, 2008 12:25 pm
  • Replies 12
  • Views 3507
Re: Under Development: Override system

Ok Been working on it quite a bit, and currently have the following overriding: Controllers Extensions Template files There is currently one exception at this time with the template stuff, due to the existing structure of the css path in the layout.tpl. It already includes the main path + the templa...

Jump to post
  • Sat Aug 02, 2008 3:43 am
  • Replies 27
  • Views 9167
Re: Override system?

Well there seems to be a lot of hardcoded '/' slashes like: $language->load('extension/module/cart.php'); Oddly enough, they seem to load ok on my windows server so maybe its not worth looking into. A function to auto-convert slashes so it doesn't matter what slash you use, as it could auto-convert ...

Jump to post
  • Fri Aug 01, 2008 10:11 pm
  • Replies 27
  • Views 9167
THE NEXT STEP

Ok, I added it to: library/application/controller.php - To allow main controller overrides library/cart/module.php - To allow extension overrides The next step will be to override template files, but relies on a structure change. Here's the idea: Instead of having to clone the entire 'default' folde...

Jump to post
  • Fri Aug 01, 2008 9:22 pm
  • Replies 27
  • Views 9167
Re: add new controller ?

You are going to need to give a LOT more detail than that ! At least a real site that we can see the error on. But if you are adding a whole new controller then you have to make quite a few changes and add some new files.

Jump to post
  • Fri Aug 01, 2008 8:37 am
  • Replies 2
  • Views 864
Re: Override system?

Ok, I got it: I had to reference the directory name instead of the data array template name So now, the override looks for a subfolder with the same name as the template folder, which should match the name of the template anyway: $template = $this->locator->get('template'); $file = $this->directory ...

Jump to post
  • Fri Aug 01, 2008 3:20 am
  • Replies 27
  • Views 9167

Search found 19688 matches