Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-14-2009 22:21:45

daviat
Member
Registered: 11-18-2004
Posts: 1096

Can't export my product db

Hi . . .

I am trying to backup my product database in the CCP6 admin but I am timing out. Please see below.

Warning: All Raw Database Admin functions are unguided. Deletion of and changes to system data, tables and table columns can result in making this software inoperable. Be careful.

Fatal error: Maximum execution time of 120 seconds exceeded in /home/vg001web00/52/28/2002852/web/khxc-private/core/KHXC_BackEnd/ext/rawdb.php on line 3875


It is a large file, perhaps 4mb. How can I increase the execution time and will that help?

thanks,
Daniel

Offline

 

#2 08-15-2009 09:09:48

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Can't export my product db

The PHP execution time is set by the php.ini file with the following variable "max_execution_time".  If you have a VPS or dedicated server you can change this however if you are on a shared hosting plan you will have to speak to your host.  If you have access to SSH you can perform a database dump from there which won't be limited to PHP execution time since you won't be using PHP.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#3 08-30-2009 13:03:16

daviat
Member
Registered: 11-18-2004
Posts: 1096

Re: Can't export my product db

I talked to hostway and they set it to 1200 but I am still getting the error bwlow. It is still reading 120 seconds.

Fatal error: Maximum execution time of 120 seconds exceeded in /home/vg001web00/52/28/2002852/web/khxc-private/core/KHXC_BackEnd/ext/rawdb.php on line 3875

Now . . . do I need to go into home/vg001web00/52/28/2002852/web/khxc-private/core/KHXC_BackEnd/ext/rawdb.php and make that change also?

thanks,
Daniel

Offline

 

#4 08-30-2009 13:11:58

daviat
Member
Registered: 11-18-2004
Posts: 1096

Re: Can't export my product db

Hostway increased the max execution to 3000 and the max upload and download to 10mbs. but I am still getting the same error stating 120 seconds. Is it a thing with the rawdb.php file? Something that needs to be changed?

Can I download the prod file another way if the admin is having trouble with it? The file is 5mb. 10,000 products.

thanks,
Daniel

Last edited by daviat (08-30-2009 13:16:11)

Offline

 

#5 08-30-2009 13:18:51

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Can't export my product db

That timeout is coming from the SQL connection and it's again something only Hostway can change for you.  If you have access to phpMyAdmin you might try getting it that way instead though, under the covers, it's going to be doing pretty much the same thing as CCP does.

Offline

 

#6 08-30-2009 13:28:24

daviat
Member
Registered: 11-18-2004
Posts: 1096

Re: Can't export my product db

How do I change the SQL connection time since I need to translate that to Hostway. One of your guys told me it was the PHP.ini that was causing the trouble.

Daniel

Offline

 

#7 08-30-2009 13:59:36

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Can't export my product db

I honestly don't know.  I went on a hunt for it myself not long ago after running into the same error you are seeing but could never find it sad  There are about 14.2 bazillion options that may be configured in MySQL but I couldn't put my finger on the right one apparently.

Offline

 

#8 08-30-2009 14:04:35

daviat
Member
Registered: 11-18-2004
Posts: 1096

Re: Can't export my product db

Can hostway do it for me? I tried exporting the prod file as a csv in Hostway's phpmyadmin and it is a total mess. I like the formating that your admin produces. Can I export sections at a time?

Daniel

Last edited by daviat (08-30-2009 14:07:17)

Offline

 

#9 08-30-2009 15:28:59

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Can't export my product db

Exporting as a CSV using phpMyAdmin shouldn't be any different than exporting from CCP as a CSV Daniel. The export allows you to specify selection criteria so yes, you could do it sections at a time.

Offline

 

#10 08-30-2009 15:50:42

daviat
Member
Registered: 11-18-2004
Posts: 1096

Re: Can't export my product db

Can I send you what I got so you can take a look?

Offline

 

#11 08-30-2009 16:22:23

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Can't export my product db

Errr, to what end sir? How it gets produced depends on what CSV option you choose in phpMyAdmin when exporting. The plain CSV option gives you all of the choices necessary to produce the same CSV that CCP would produce.

Offline

 

#12 08-30-2009 16:51:54

daviat
Member
Registered: 11-18-2004
Posts: 1096

Re: Can't export my product db

I set it for "CSV Excel" and it fixed it in the esport. For some reason just setting it for a basic CSV export didn't work for me.

thanks for the help,
Daniel
DDG

Last edited by daviat (08-30-2009 16:56:04)

Offline

 

#13 12-17-2010 15:48:30

JayCR48
Member
From: Ohio
Registered: 03-27-2008
Posts: 87
Website

Re: Can't export my product db

core-private/core/CORE/core.php line 971 might to have something to do with this.  Definately check with Dave, Jon, Nick or one of the other smart guys.

Last edited by JayCR48 (01-28-2011 17:17:18)


We distribute high quality steel auto body panels for use in the rust repair industry.

Offline

 

Board footer