Jump to content

Fresh installation - settings problem


Guest Sharpasamarble

Recommended Posts

Guest Sharpasamarble

I have have just created a new 14 day Trial installation of Cubecart V4.

Once installed I logged in and I tried to add the store information (Store title, keywords address etc). As soon as I clicked the update button (sorry exact language escapes me) under this section I got the error below. I can no longer access either the store or the admin area. I have tried starting from scratch and the same thing happened. I suspect it is something to do with choosing Country and county. I at first left county blank, but the second time I selected a county, but there was no difference to the result. The error i get is below. As far as i can tell it has failed to set a language for the shop and so cannot locate the file as the language variable is missing. Inspecting the database, I found that their was no entries in the CubeCart_lang table. Any one got any ideas?

Warning: getlang(/home/davi8678/public_html/shop/language//admin/admin_common.inc.php) [function.getlang]: failed to open stream: No such file or directory in /home/davi8678/public_html/shop/includes/functions.inc.php on line 794

Fatal error: getlang() [function.require]: Failed opening required '/home/davi8678/public_html/shop/language//admin/admin_common.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/davi8678/public_html/shop/includes/functions.inc.php on line 794

-----------

I have since inspected the mySQL table where the config data is held. I see the following (line breaks in the address are as displayed)

a:82:{s:10:"siteCounty";s:3:"455";s:12:"storeAddress";s:67:"Azumi and David (A'N'D)

Unit 23

8 Andrews Road

London E8 4QN

";s:10:"taxCountry";s:3:"225";s:9:"taxCounty";s:0:"";s:15:"metaDescription";s:36:"Online Shopping from Azumi and David";s:12:"metaKeyWords";s:102:"Azumi, AND, AANDD, David, London, fashion, Designers, Design, Accessories, Clothes, jewellery, product";s:8:"saleMode";s:1:"1";s:15:"shipAddressLock";s:1:"0";s:9:"siteTitle";s:31:"Azumi and David | Things To Buy";s:9:"storeName";s:15:"Azumi and David";s:11:"installTime";i:1189518077;s:17:"offLineAllowAdmin";s:1:"1";s:15:"showLatestProds";s:1:"1";s:14:"show_empty_cat";s:1:"0";s:19:"disable_alert_email";s:1:"0";s:14:"richTextEditor";s:1:"1";s:18:"stock_replace_time";a:4:{i:1;s:1:"1";i:2;s:1:"1";i:5;s:1:"1";i:6;s:1:"1";}s:16:"sefprodnamefirst";s:1:"0";s:12:"gdGifSupport";s:1:"1";s:11:"siteCountry";s:3:"225";s:3:"ssl";s:1:"0";s:9:"force_ssl";s:1:"0";s:11:"rootRel_SSL";s:0:"";s:12:"storeURL_SSL";s:0:"";s:12:"dnLoadExpire";s:6:"172800";s:11:"dnLoadTimes";s:1:"3";s:11:"defaultLang";s:2:"en";s:7:"skinDir";s:7:"Classic";s:10:"changeskin";s:1:"0";s:13:"noLatestProds";s:1:"3";s:9:"dirSymbol";s:1:"/";s:12:"productPages";s:2:"10";s:13:"productPrecis";s:3:"120";s:14:"noSaleBoxItems";s:2:"10";s:17:"noPopularBoxItems";s:2:"10";s:10:"masterName";s:8:"Virtucon";s:11:"masterEmail";s:22:"[email protected]";s:10:"mailMethod";s:4:"mail";s:8:"smtpHost";s:0:"";s:8:"smtpPort";s:0:"";s:8:"smtpAuth";s:5:"FALSE";s:12:"smtpUsername";s:0:"";s:12:"smtpPassword";s:0:"";s:18:"maxImageUploadSize";s:6:"524288";s:16:"sqlSessionExpiry";s:6:"172800";s:12:"floodControl";s:1:"0";s:9:"rteHeight";s:3:"350";s:13:"rteHeightUnit";s:0:"";s:5:"debug";s:1:"0";s:13:"latestNewsRRS";s:61:"http://www.cubecart.com/site/forums/index.php?act=rssout&id=1";s:17:"add_to_basket_act";s:1:"0";s:14:"imgGalleryType";s:1:"0";s:8:"cat_tree";s:1:"1";s:11:"hide_prices";s:1:"0";s:19:"pop_products_source";s:1:"0";s:5:"cache";s:1:"1";s:11:"orderExpire";s:7:"1209600";s:9:"gdversion";s:1:"2";s:11:"gdthumbSize";s:2:"75";s:12:"gdmaxImgSize";s:3:"390";s:9:"gdquality";s:2:"80";s:10:"stockLevel";s:1:"1";s:18:"outofstockPurchase";s:1:"0";s:17:"stock_change_time";s:1:"0";s:15:"stock_warn_type";s:1:"0";s:16:"stock_warn_level";s:1:"5";s:10:"weightUnit";s:2:"Kg";s:10:"timeFormat";s:18:"%b %d %Y, %H:%M %p";s:10:"timeOffset";s:1:"0";s:10:"dateFormat";s:8:"l jS F Y";s:15:"defaultCurrency";s:3:"GBP";s:11:"currecyAuto";s:1:"0";s:11:"priceIncTax";s:1:"0";s:14:"priceTaxDelInv";s:1:"0";s:14:"salePercentOff";s:2:"20";s:7:"offLine";s:1:"0";s:5:"proxy";s:1:"0";s:9:"proxyHost";s:0:"";s:9:"proxyPort";s:0:"";s:3:"sef";s:1:"0";s:7:"seftags";s:1:"0";s:14:"offLineContent";s:76:"VGhlIHN0b3JlIGlzIGN1cnJlbnRseSBvZmZsaW5lLiBQbGVhc2UgdmlzaXQgYWdhaW4gc29vbi4

=";}

I am unable to edit this data in phpMyAdmin (not sure why). I can see that the country code which should be 225 is actually showing as 455. Also there is a spelling error in the variable 'currecyAuto' which is probably a bug. Any clues anyone?

Thanks in advance

Stefan

Link to comment
Share on other sites

The path suggest the language variable is missing for some reason...

/home/davi8678/public_html/shop/language//admin/admin_common.inc.php

should be:

/home/davi8678/public_html/shop/language/en/admin/admin_common.inc.php

/home/davi8678/public_html/shop/language/fr/admin/admin_common.inc.php

etc...

There may have been an error during install. We have had another similar sales ticket so there may be a compatibility issue under a specific server environment or something.

Link to comment
Share on other sites

Guest Sharpasamarble

The path suggest the language variable is missing for some reason...

/home/davi8678/public_html/shop/language//admin/admin_common.inc.php

should be:

/home/davi8678/public_html/shop/language/en/admin/admin_common.inc.php

/home/davi8678/public_html/shop/language/fr/admin/admin_common.inc.php

etc...

There may have been an error during install. We have had another similar sales ticket so there may be a compatibility issue under a specific server environment or something.

Thanks Al, please see the update to the original post. Is there anything useful there?

Link to comment
Share on other sites

Guest theoccasionalbat

Had the same issue repeatedly on a fresh install. Removed entire folder and re-installed with no issues.

Not sure why it would work the second time, as I did not remove the database.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...