Forums / General Questions / Add a Table with a Product

Add a Table with a Product

Views: 2,493

Results 41 to 59 of 59
10 Aug 2015, 3:32 PM
#41
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Add a Table with a Product

I noticed that that is different from the setting in your other database ... it may or may not have any affect on things ...

Also, in your configure.php files, you are using:

define('SQL_CACHE_METHOD', 'file'); 

You might try:

define('SQL_CACHE_METHOD', 'database');

To see if things work better on your other database ...

When setup for your other database, did you check the setting, as DrByte suggested for:

Admin->Configuration->Shopping Cart->Product Quantity Decimals

Or check this directory as he asked?

Are there any files in your /includes/init_includes/overrides folder? If so, what exactly are they there for? Are any files missing from (or damaged in) the /includes/init_includes folder itself?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Aug 2015, 4:11 PM
#42
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

The entry by DrByte I missed that one completely.

So that I get this right - using the 'doggy' database with the clean build and do the checks/changes as described?

Learning Fast.
Eden Craft Supplies

10 Aug 2015, 4:13 PM
#43
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add a Table with a Product

Yes, try going back to the other database and fix that setting and try using the database vs files for the sessions and check the setting DrByte talked about and check for the files he referred to ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Aug 2015, 4:23 PM
#44
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

I cannot find Admin->Configuration->Shopping Cart->Product Quantity Decimals

Learning Fast.
Eden Craft Supplies

10 Aug 2015, 4:24 PM
#45
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add a Table with a Product

Try looking in Configuration ... Stock ...

Product Quantity Decimals
Allow how many decimals on Quantity

0= off

0
1
2
3

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Aug 2015, 4:33 PM
#46
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

I have checked both sets of configure.php files, and all four have ```
define('SQL_CACHE_METHOD', 'file');


What I am going to do is;

1 - take stock of everything that has been said
2 - re-read everything in this post
3 - check everything in DrByte's post
4 - I may even dump the clean build and make another one so that I know where I am

I will get back to you later as it is 5.30pm UK time and I still cannot find Admin->Configuration->Shopping Cart->Product Quantity Decimals

Learning Fast.
Eden Craft Supplies

10 Aug 2015, 4:41 PM
#47
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add a Table with a Product

Do try changing that to database vs files ...

The setting is in Configuration ... Stock ... for the Product Quantity Decimals ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Aug 2015, 4:55 PM
#48
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

Ajeh:

Do try changing that to database vs files ...

The setting is in Configuration ... Stock ... for the Product Quantity Decimals ...

With the 'doggy' database with clean install - admin/configuration/stock/ - is a blank page

Learning Fast.
Eden Craft Supplies

10 Aug 2015, 5:06 PM
#49
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add a Table with a Product

What do you see in the /logs directory regarding debug logs for the Admin?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Aug 2015, 6:32 PM
#50
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

Ajeh:

What do you see in the /logs directory regarding debug logs for the Admin?
All the logs I have say```
[10-Aug-2015 17:38:45 Europe/London] PHP Warning: round() expects parameter 2 to be long, string given in /homepages/20/d503465712/htdocs/shops/escshop/includes/classes/shopping_cart.php on line 2227
[10-Aug-2015 17:38:45 Europe/London] PHP Warning: round() expects parameter 2 to be long, string given in /homepages/20/d503465712/htdocs/shops/escshop/includes/classes/shopping_cart.php on line 2228
[10-Aug-2015 17:38:45 Europe/London] PHP Warning: round() expects parameter 2 to be long, string given in /homepages/20/d503465712/htdocs/shops/escshop/includes/classes/shopping_cart.php on line 2227

Learning Fast.
Eden Craft Supplies

10 Aug 2015, 10:09 PM
#51
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add a Table with a Product

If you try the Admin again, do any new debug logs appear that start with myDEBUG-adm-

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Aug 2015, 10:21 PM
#52
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add a Table with a Product

Try going to the Admin again and be sure to re-fresh your FTP program and check the /logs do any start with:
myDEBUG-adm-

when you trigger the error?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Aug 2015, 10:34 AM
#53
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

Ajeh:

Try going to the Admin again and be sure to re-fresh your FTP program and check the /logs do any start with:
myDEBUG-adm-

when you trigger the error?

Emptied the log file. Made sure that the clean build had the doggy db attached. Gone admin/config/stock displayed an empty screen. Checked logs file no mydebug file.

I have other things to do today, so if you ask for anything else I may not be able to respond till a lot later. All depends on the weather. One thing I will try is attach the clean build db to the doggy build.

Learning Fast.
Eden Craft Supplies

11 Aug 2015, 10:45 AM
#54
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

I have just used the clean db with the doggy shop and it has come up with the initial zencart start up screen for both the shop & the admin side.

Learning Fast.
Eden Craft Supplies

11 Aug 2015, 12:45 PM
#55
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add a Table with a Product

Check that you have good configure.php files setup for that database in:
/includes/configure.php
/yoursecretadmin/includes/configure.php

by viewing them from the server ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Aug 2015, 12:52 PM
#56
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

Ajeh:

Check that you have good configure.php files setup for that database in:
/includes/configure.php
/yoursecretadmin/includes/configure.php

by viewing them from the server ...
I actually think I know what has been going on. I am uploading my backup of the doggy site. When done I will do the tests and then get back to you. I think all of this may have been my fault.

Learning Fast.
Eden Craft Supplies

11 Aug 2015, 6:29 PM
#57
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

What has happened is, two db's and sites have tied themselves together and the doggy site was calling db info from sites. I decided to have a quick clear out of unwanted files and one site I deleted off the server hence the zc_install home page.
your help
It is going to be easier for me to start a fresh, using the clean built site and upload the stock items to it.

Thanks for your help.

Learning Fast.
Eden Craft Supplies

11 Aug 2015, 6:32 PM
#58
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add a Table with a Product

You are most welcome ... glad you spotted the issue ... good luck with your site! :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

3 Sep 2015, 12:58 PM
#59
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Add a Table with a Product

Thanks for all the info. OK I am now back to where I was. I am now trying to centre the table and also make it 7 column 2 row and not as present 6 column 3 row (link here)

I have a copy of both the style sheet and the tpl_main_page.php line 99 mentions tpl_modules_attributes.php but cannot find any reference to it. Also I have 'inspected Element' (windows Edge) still nothing.

Learning Fast.
Eden Craft Supplies