![](https://forums.cubecart.com/uploads/set_resources_7/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://forums.cubecart.com/uploads/set_resources_7/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
Ben224
-
Posts
163 -
Joined
-
Last visited
Posts posted by Ben224
-
-
Hello fellow cubecarters.
A simple request with hopefully a simple resolve?
I want to call the "All in One Shipping" something else. I don't want to amend a phrase associated with the Shipping Module I want to amend the actual title itself.Thanks in advance.
-
Hi Bsmither,
Thanks for your response. I took your last line of advice and submitted a ticket on this one.
Appreciate your input as ever.
-
Hi thanks for your response.
I haven't assigned any option sets, option groups and attributes only. -
Hello fellow Cubecarters,
I have been experiencing an issue with the options matrix. Some of my products but Not All of my products that use the options matrix encounter the following issue:
1. Under the Product options tab/area.
Loading product options that relate to the product and then saving and reloading the page with these options is a success.
Adding the saved product options to the Matrix by changing the red x to a green v under product options > options matrix is also a success.
2. Under the options matrix tab/area.
Changing 'Use Stock Level' from a red x to a green v and then saving and reloading the page is unsuccessful. Once the page has reloaded the green v's revert back to red x's.
Stock level's once entered, saved and reloaded are wiped out completley and are reverted back to 0. Ocassionally the page crashes and throws me back to the dashboard
This only happens when dealing with a product that has combinations of around 10 or more. Smaller amounts of combinations are fine and can be saved normally.
We are now stocking products that have many combinations and have been stopped in our tracks as we cant list and save the combinations successfully.Can anyone help?
-
Thanks guys,


I appreciate all your comments and insight which has helped me return a better educated response to my hosting company. I think in terms of image compression progressive sounds like a good idea. If it holds up as far down as I.e 6. It would be quite useful to have Cubecart work that magic when uploading images, rather than having to FTP the images in. Perhaps something that could be added to a later version?


My largest document size uncompressed which is the homepage including all bells and whistles is 1801 KB. I find it hard to believe that a correctly tuned server cant deliver 1801 KB of data without crashing.

 Anyhow the gzip compression has proved to be useful and the site is a little more sprightly now.
I agree totally Cubecart does a fantastic job on a shared server. My other cubecart site which is bigger than this one performs very well indeed. It's so easy to get bamboozled by all the technical rhetoric and in this case I think the host is trying to bamboozle and side step the real issue. The site hasn't had any errors in the past few days so I shall persevere for now.
-
Hi, so to close this thread, I have had some results back from several tests done on my site by my hosting company who have found that there are issues with the coding of my site which "needs optimization for a shared hosting environment". This apparently is the reason why the site goes down which ends up bringing my email down as well.
The majority of the tests that were done failed. And I have the following advice to consider:
1."Use gzip compression for transferring compressable responses".
I have added a bit of code to my .htaccess file which enables output compression in Apache. Not sure whether that is ideal?
2. "Compress Images".
Images are all jpg optimised for web, not sure how I can possibly improve on this really?
3. "Use Progressive JPEGs"
If I'm not mistaken this is not supported on earlier browsers, so for now its not an option.
4. "Leverage browser caching of static assets"
So being an ecommerce content changes rapidly and I dont want out of date content being served to my customers browsers. However some stuff stays fairly constant. I wonder is there a way to cache some content and not others?
5. "Use a CDN for all static assets"
I dont think my site performance should depend an awful lot on whether or not I use a Content Delivery Network. I mean I'm paying the Host to serve my content why should I pay someone else to do the same thing!?
So the bottom line here is that the Hosting company are apparently doing a great job and my site configuration stinks. Wow, I didnt see that one coming.
-
Thanks Ian,
The Hosting company is not very helpful. I have escalated the issues outlined here with them - yet again, and requested that they look into the server logs and identify the issue.
I will update the post once I have a response.
-
Thanks Ian, Bsmither
My hosting provider cannot produce a server access log as I havent enabled Awstats in cPanel. But I am also told that I dont have access to server logs in any event. I appear to have hit a dead end with the error log.
-
Thanks for these points Bsmither,
I am running CC5211, (I have updated my signature) so these points probably wont be part of the issue. I am now looking for the web server's access log to see if I can pull any more information out. I will update this post as soon as I have something.
I do get the feeling that this is not a coding problem but rather a server overload issue. I have 2 Cubecart installations both are CC5211 and one of the shops uses a dedicated IP address which performs very well indeed. Both are coded almost identically in terms of the skin. I think it's fair to say that a dedicated IP would not be prone to server overload which may explain why this problem only effects one and not the other. -
Thanks Ian,
I will consult with the Hosting company and request that the site is moved.
-
Hello fellow cubecarters,
I have been intermittently receiving a number of errors which are crashing my site. I have been working to resolve these errors with my webhosting company.
Until now I haven't found a resolve to this issue.
I have been receiving various errors namely:
500 Internal Server Error
also my web monitoring service reports:
'Connection Refused' - A Connection Refused error occurs when the web server's host computer is found, but the host computer refuses to accept the connection on the default port. This usually indicates a problem with your web server software or the web server software is not running.
and finally I sometimes have the following error in my browser window:
Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/oxoxoxox/public_html/classes/db/mysqli.class.php on line 22

Fatal error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/oxoxoxox/public_html/classes/db/mysqli.class.php on line 24
I am at a complete loss as to whether this is a coding issue or a problem with the host server who seem to be clueless themselves.
Your help is much appreciated in advance.
-
Hi Bsmither,
It appears that 5.2.10 was released yesterday which addresses this issue and others. Thanks again for your support and resolve in the interim.
-
Ok the site is back online. Thats a big relief.
Thank you. -
<?xml version="1.0" encoding="utf-8"?>
<language version="2.0">
<info>
<title>
<![CDATA[English (UK)]]>
</title>
<code>en-GB</code>
<locale>en_GB</locale>
<character_set>utf-8</character_set>
<version>1.0.0</version>
<minVersion>5.0.0a</minVersion>
<maxVersion>5.1.*</maxVersion>
<default_currency>GBP</default_currency>
<text-direction>ltr</text-direction>
<override/>
</info>
<translation>
<group name="address">
<string name="state">
<![CDATA[County]]></string>
</group>
</translation>
</language>
-
British English
-
Yes default language is English.
Thanks
-
Here are the results:
[13-Apr-2014 20:29:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: Entity: line 23: parser error : Opening and ending tag mismatch: translation line 17 and language in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:29:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: </group></translation><translation></translation></language> in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:29:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: ^ in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:29:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: Entity: line 23: parser error : Premature end of data in tag language line 1 in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:29:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: </group></translation><translation></translation></language> in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:29:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: ^ in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:29:05 UTC] PHP Fatal error: Call to a member function select() on a non-object in /home/srel097/public_html/classes/seo.class.php on line 735
[13-Apr-2014 20:31:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: Entity: line 23: parser error : Opening and ending tag mismatch: translation line 17 and language in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:31:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: </group></translation><translation></translation></language> in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:31:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: ^ in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:31:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: Entity: line 23: parser error : Premature end of data in tag language line 1 in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:31:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: </group></translation><translation></translation></language> in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:31:05 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.--construct.php'>simplexmlelement.--construct.php</a>]: ^ in /home/srel097/public_html/classes/language.class.php on line 736
[13-Apr-2014 20:31:05 UTC] PHP Fatal error: Call to a member function select() on a non-object in /home/srel097/public_html/classes/seo.class.php on line 735 -
Thanks Bsmither,
I appreciate your support as ever. The above modification to session.class.php has resolved the issue.
Sadly my other store still has a blank back and front end so I have resorted to putting a support ticket in. I hope to find a resolve to this today.
Thanks for persevering.
-
Thanks Bsmither that fixes one store.
Do you have any further thoughts on the other issue? Or perhaps this is too complex for trying to resolve here on the forum.
-
Hi again,
There is a further issue with my second store. I also upgraded to CC529. The upgrade appeared to be successful on this one but I have just noticed that I cannot add images to products. When I open the images tab the image list is blank. When I attempt to add an image to the product listing cubecart logs out and throws me back to the login screen without adding the image.
I have two broken stores.
Help! :-/
-
Hi Bsmither,
Thanks for responding. My site is still down.
I have the info.php up and looking now at the Core section I have the following:
log_errors Off Off
log_errors_max_len 1024 1024
I scoured my root directory for the error_log and i'ts not in there. I ran a search in the complete directory from FireFTP for error_log and its reporting no files found.
I don't think I am any closer to resolving. Not good very concerned now.
Thanks for your continued support.
-
Hi,
The 'logs' directory is empty. Should I be looking for the error_log somewhere else?
Many thanks
-
Hi,
So I renamed the setup folder gyt not relevant to anything just letters. I then navigated to the folder via my browser and I get the following. Does this help or just confuse matters?
Warning: require_once(/home/mysite/public_html/gytini.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysite/public_html/gyt/index.php on line 2
Fatal error: require_once() [function.require]: Failed opening required '/home/mysite/public_html/gytini.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/gyt/index.php on line 2 -
Hi Bsmither,
I've upgraded from cc528 if I'm not mistaken. The info.php shows the following ...with the ionCube PHP Loader v4.4.1 so I guess that it not the issue?
Thanks
Preferred Shipping Method Hierarchy
in Technical Help
Posted
Hello fellow cubecarters,
Is there a way of preventing my Free Shipping method from being the default shipping method when entering the basket.
I am now offering a collect in store service for local pick up. However I've taken some remote sales that assume that shipping is free despite clearly describing the service as pick up in store only. Go figure!
Anyhow what I would like to do is re-order the shipping menu order so that the Free Shipping option I have available is not the first option shown.
Many thanks in advance.