kinetic
-
Posts
571 -
Joined
-
Last visited
Posts posted by kinetic
-
-
Do as the error message says to do
"Try changing the CHMOD value to 0777. Remember to set it back to 0644"
to chmod a file or folder you use your ftp client (WSFTP or cute ftp or other)
in WSFTP browse to /language/en/
right click home.inc.php
select
> Operations > FTP Commands > CHMOD (unix)
a small window will open type 777 in the field or click all the check boxes
click ok
the file will be chmodded to 777
which now means it can be written to by the editor in CC Admin
Once done editing thehome page content chmod the file back to 644 for security!!!
Hope this helps
Kinetic
Just downloaded Version 3 cube cart. I can add products, and photos to my store!HOWEVER, I CAN NOT SEEM TO CHANGE THE TEXT ON THE HOME PAGE (INDEX PAGE). When I attempt to modify the text, I get the following message:
"Could not open file of '/home/harley/public_html/order/language/en/home.inc.php' for writing. Try changing the CHMOD value to 0777. Remember to set it back to 0644 afterwards!
Anybody know what Im doing wrong?
Probably something very simple, as Im new at this!
Your help will be greatly appriciated!
-
My Pleasure Justine
Getting used to the CubeCart structure can be intimidating at first but once ya know the template system and the locations its usually pretty easy to modify or edit your skin html that is if ya know html and css
Glad I could help
Cheers
Kinetic
Thanks for the help kinetic.Working a treat.
Justine
-
CubeCart uses the X template system keeping HTML (layout and style) separate from php code
all "skin" files are located in the skins folder so which ever skin you are using you would go into that skin folder and look for the sub folders
You need to add it in the head of the /skins/YourSkin/styleTemplates/global/index.tpl
and if you want it to dislay during checkout also add it to
skins/YourSkin/styleTemplates/global/cart.tpl
the favicon should be located in your site root and be named favicon.ico (.ico is a icon resource file)
Hope this helps
HiIm trying to add a favicon to my site but the instruction say to add to the head in the index.html.
Where is the head and the index.html
All i can find is the index.php.
Justine
-
Funny it works for me in Firefox
and in IE 6
try dumping your cache and dumping your cookies
something might be corrupted in our browser
and also what browser are you using that it ISNT working in?
Kinetic
Hello and thanks in advance for your help. I am using v3.0.15First things first ....here is a product page from my site with a "More Images" link.
http://aecageco.ca/shop/index.php?act=view...mp;productId=35
As you can see the pop up window opens and the thumb nails are viewed in the left column. But there is no full sized images even when you click on it. What else is wierd is that there is no error messege also.
It all worked fine until reciently. I have not added any mods (I did prior to enabling the "More Images" script but it still worked OK).
Any help would be awesome.
-
I tried in Fire fox and Internet exploder 6 and couldnt get it to kill the product that I added
you should really try turning on debug from admin and see if you can spot where its going wrong
Also of the customers that did report problems did any report they were using MSN butterfly or some other browser besides Firefox or IE?
-
Ive only seen this happen when the customer started with or without the www and then gets into the cart and the www or not is switched to the oppsite
eg customer starts at www.yourdomain.com then in the cart hits yourdomain.com cubecart thinks (cookie) that its a different site
if you dont use the www at all and have htaccess redirecting and stripping the www then this couldnt be the problem.
have you tried turning on the debug from admin and checking the debug info at the bottom as you go thru the site and whats in it when the items disappear?
also whats your store url so we can check it out and see if we can replicate it as a customer?
Kinetic :angry:
-
well ya can tell them it is definetly a problem with their hosting choice and to correct it they need to get a clue and get a solid host
clients can be soooo stubborn right untill it all goes wrong
Kinetic :angry:
-
Ive seen this happen on a couple of my clients cubecart sites that were hosted on servers that had over sold their server or had alot of traffic hitting their mysql server basically the server is overloaded handling requests and cant serve all your styles and images up before it craps out
the servers in question in my clients cases were bluehost ipowerweb and host gator ( 3 of the absolute worst)
Id suggest finding a better hosting company and dont go for the cheap ones...
If you are interestedin some quality servers /hosting companies out there PM me and Ill give ya the short list
hope this helps
Kinetic
Ok, here's the situation:CC3 latest version
Unix Server
Just moved to a new server.
Everything works great until you get to the shopping cart.
Shopping cart page 1 is fine.
Beyond that, the headers all get stripped away. When you view the source, it starts and ends with the <body> tags only.
After a few hard refreshes, it sometimes comes back.
Worked great on 2 previous servers.
Any brainiacs out there who can tell me what might cause this?
-
Just edit the /skins/YOUR_SKIN/styleTemplates/boxes/categories.tpl
depending on the skin
just look for the
<!-- BEGIN: sale -->and everything inbetween<!-- END: sale -->
and delete it
hope this helps
Kinetic :ninja:
-
In a word Yes
just copy the htaccess code from CC4 and add it to the htaccess file you already have
and reupload to your stores root
I see that to enable the SEO in CC4, I need to upload the generated .htaccess file to the root directory. But, what if I already have an .htaccess file there? I use a link redirect script which uses the current .htaccess file there, so do I just add the text for the one that CC4 SEO generates to the one I already have?Thanks,
Keith
-
OK first of all you can restore the original FCK Default toolbar set easily
open admin/includes/fckconfig.js
look for:
FCKConfig.ToolbarSets["Default"] = [
you will find 2 instances the first instance has been commented out the second instance begins the "NEW" Default toolbar set I simply removed the second instance FIND this: Lines 98 - 109
FCKConfig.ToolbarSets["Default"] = [ ['Source','Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat','-','SpecialChar'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'],['Image'], '/', ['Style','FontFormat','FontName','FontSize'], ['TextColor','BGColor'], ['FitWindow'] ];
and delete it now simply uncomment the other instance: lines 79 - 96
/* FCKConfig.ToolbarSets["Default"] = [ ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'], '/', ['Style','FontFormat','FontName','FontSize'], ['TextColor','BGColor'], ['FitWindow','-','About'] ]; */
remove the /* and the */ from the beginning and end of this section Save and reupload You will need to clear your cache before loading any CubeCart page that has a FCK editor instance Pasting content, images or html from WORD is about the worst thing you can do to your site and your visitors/customers Theres even a config option for FCK to PREVENT THIS from happening because WORD produces absolutely the absolute WORST html there is... line 65 of admin/includes/rte/fckconfig.js
FCKConfig.AutoDetectPasteFromWord = true; // IE only.
it will strip the crap from what you are pasting
there is also an option to FORCE paste as plain text which is the best option
because it forces you if you are pasting content to remove all formatting and images
and do formatting and images from FCK
I usually just paste to note pad first to remove any formatting
but FCK has made it easy for us to paste clean text and if we NEED to a method to paste html SOURCE
If you like FCK so much then why not write your content IN FCK? add your images via FCK
and compose the content completely in FCK?
at the very least if you are writing your html use word pad or use Dreamweaver to write html and PASTE
source code instead of hot copied html
if you dont know html and this is why you are using WORD to create your content you should really stop and just use FCK mostly because FCK produces cleaner leaner more valid html than word ever will and html from WORD depends on Frontpage extensions being installed on your server and active.
You are of course left to your own choice as now you know where in the CC files to edit the options FCK editor gives us...
Hope this helps....
Kinetic a notepad paster from waaay back....
-
I fixed mine by grabbing a copy of the /classes/cart/shoppingCart.php from CCv4.0.3
and uploading it....
now Gift Certificates work....
dont know yet whether this will have any kind of negative impact on any other cart functions but I will be testing today on my clients store and will report back whether this is a valid fix....
till then stay tuned
Kinetic
-
whether SEO is off or on
whether SQL caching is off or on
I get the same error on gift certificate when I click the add to cart button for it
Warning: cannot yet handle MBCS in html_entity_decode()! in /home/statequa/public_html/classes/cart/shoppingCart.php on line 85
there is a KNOWN php bug for html_entity_decode in php 4.3 or LATER and will not be fixed in php 4.4
but rather fixed in php 5 so using it in cubecart 4 is ridiculous
as most of us have the latest version of php 4 on our servers
http://bugs.php.net/bug.php?id=25670
http://bugs.php.net/bug.php?id=27626
this sux
-
I get it too when we add a giftcertificate to the cart
Warning: cannot yet handle MBCS in html_entity_decode()! in /home/statequa/public_html/classes/cart/shoppingCart.php on line 85
Fixed it for now
http://www.cubecart.com/site/forums/index....showtopic=31247
-
I dont think I will be doing the next version
Im too afraid it will have fixed a few things but broke still more other things
and Ive gone thru and FIXED alot of those broken things
but cant figure out why tell a friend wont send email
the store sends out all the other emails just fine just not tell a friend
I need to know why/where tell a friend is broke in THIS version....
-
Ok this is getting silly
I fix the code for tell a friend in v4.0.1
and it works
now Ive got a client on v4.1.0RC
and Tell a friend is broken Again?
who do you got writing code? who ever it is is sloppy sloppy sloppy
-
Im also having this issue
arrow_up and arrow_down have the glob url and for some reason its not passing the the actual www.whatever.com/store/ or the www.whatever.com/
-
Let me know how it works out
post your link so I can check it out
wOOt :ninja:
-
Daan
Ok to start you should install your cubecart
into a subfolder
eg. http://www.yoursSite.com/store/
Your next step is to determine the default language of CubeCart
English or Dutch?
Once you have determined which is going to be your default store language (Im assuming Dutch for this tutorial)
You will need to then create any product info, site doc, home page content, category descriptions, meta keywords, meta descriptions in English by using the languages links
Once you have your site in both Dutch and in english (cubecart provides translations of all the common store content you need to create your alternate language content or it will only show up in your default language)
You will need to create a index.html in your site's root
with your buttons
The dutch button doesnt need any thing special just simply put and href on it for http://www.yourSite.com/store/index.php
<a href="http://www.yourSite.com/store/index.php" target="_self"><img src="path/to/your/Dutch_image.jpg" border="0" width="" height=""></a>
the English button needs this
<a href="/store/switch.php?r=index.php&lang=en"><img src="path/to/your/English_image.jpg" border="0" width="" height=""></a>
I would also read completely thru the language/nl/lang.inc.php and the language/en/lang.inc.php
to tweak or adjust any of the cubecarts common text snippets.
Hope this helps!
Kinetic
-
OK evidently this has NOT made it into the files for CCv3.0.17
(and it should...)
If you use Authorize.net or eWay or other Credit card based gateways you will need to make these changes to /includes/content/gateway.inc.php if you want your customer comments to carry through.
FIND:
$orderSum['time'] = $db->mySQLSafe(time()); $orderSum['customer_comments'] = $db->mySQLSafe($_POST['customer_comments']);
REPLACE WITH:
$orderSum['time'] = $db->mySQLSafe(time()); // fix for customer comments by RdWilder if(empty($_POST['customer_comments'])){ $orderSum['customer_comments'] = $db->mySQLSafe($basket['customer_comments']); $basket = $cart->setVar($basket['customer_comments'],"customer_comments"); } else { $orderSum['customer_comments'] = $db->mySQLSafe($_POST['customer_comments']); $basket = $cart->setVar($_POST['customer_comments'],"customer_comments"); } //$orderSum['customer_comments'] = $db->mySQLSafe($_POST['customer_comments']);
Hope this helps and this should at least be made a sticky!!!
-
Ok
first are you sure you are changing the permissions of the correct file?
/languages/(YourLanguage)/home.inc.php
secondly what are you using to chmod the file? which FTP client
WSFTP? CuteFTP?
thirdly is your host windoze or linuxed based?
if linux based you would do 777
if windows based then a permission to read write all (usually 755) is sufficient)
I have seen some hosting companies that as soon as you chmod a file or folder to 777 the server puts it back
if this is the case I would open your home.inc.php file in dreamweaver or some other html editor
and write your homepage content there directly then reupload the edited home.inc.php
as for the RTFM I apologize but you didnt state the steps you had gone thru to solve the problem before posting
ie searching the forums and whether you had already tried chmodding the file to 777
If you need further assistance PM me with your stores Admin login and FTP credentials and I will see if I can spot the problem.
Kinetic
-
RTFM
Read the Documentation it clearly states to CHMOD the /languages/en/home.inc.php to 777 BEFORE making edits to the homepage content
then to CHMOD the /languages/en/home.inc.php BACK to 644
-
www.thegamehub.co.uk
Id contact your host
it looks like your hosts mysql server is slow like its over taxed (over sold)
Ive seen this problem with DB driven sites on HostGator and BlueHost
Whats happening is the MySql server isnt responding fast enough and CSS images or text or css styles arent fully loading. I had a client with this same problem on BlueHost and as soon as they switched to another company the problem went away and their pages loaded faster
Kinetic
-
CubeCart is a scalable, flexible, secure e-commerce system
It uses the X-Template system where html and css is separate from the php code
depending on your skill level with html, css and php and MySql
you wont find a better system. Ive seen and made CubeCart do things its owner never dreamed of. Its just a matter of writing the right code and template html to make it work.
If your skills aren't all that then I would definitely recommend contacting a qualified web developer who knows CubeCart and can meet your stores needs. You can find one usually over at the http://www.cubecartforums.org website.
Hope this helps
Kinetic
GoPHP5 Initiative
in Technical Help
Posted
while Id love to upgrade our server to php5 I have over 150 hosting clients with apps that depend on php4
and if I upgraded Id have to upgrade or find new apps that would work under php5 at my cost for the different apps that would be broken it took 2 weeks of my time just going thru and fixing things when we moved to a new box and Sir WIlliam and I set it up properly and had register_globals OFF and safe_mode ON
for any file or app that depended on safe_mode and register_globals which in 9/10 cases was an easy thing
and NEEDED to be updated but man goin from php4 to php 5 id be working non stop for 2 months cleaning up all the apps...
good news is from reading the posts here it IS possible to run both php4 and 5 at the same time guess Ill go poke Sir William and see what he says (that guy a server sys admin genius)