Dreamweaver and CS cart

We are having a huge problem trying to get the Install part to work for us. Could DW be the problem? We have DWCS3 and have bought the new upgrade CS5 which will be ready tomorrow to download. I didn’t think DW and CS-Cart would have problems working together since they are php but I don’t know? Any suggestions.

Also is it normal to post a question here and have it not post for a day or more?

Anyone? Anyone?

Your post needed to be approved and it just was.

Dreamweaver will work fine to edit the tpl, php and other files used inside CS-Cart. What server are you installing cs-cart on? What OS, is MySQL installed, etc… or are you using something like WAMP? You need to provide more detail.

I use Dreamweaver to edit all of my files and have no problems at all. I also have my site set up as a site on Dreamweaver so that I can easily move my files back and forth from my computer to my server.



One thing I have noticed though, is that Dreamweaver’s ftp part sucks for uploading the entire site. I don’t know if there are just too many files in CS-Cart or what, but you either need to do the uploads in parts, say 100 files at a time, or just use something different.



When I move my entire site I just use the file manager in my cPanel. I basically just zip up my entire site, use the file manager to upload it, and then use the file manager to unzip it. There might be better ways, but this works well for me.



Brandon

You can use Notepad++, it is free.

[quote name=‘TexasGuy’]You can use Notepad++, it is free.[/QUOTE]





Since he already purchased CS5, I’ll bet that he wants to use it.



Also, notepad++ is a great code editor, but Dreamweaver makes file management much, much easier.



Brandon

We are using concentric as our host and a windows based platform. They said we could switch over to the UNIX platform and actually recommended. We did try uploading directly to the site but concentric said they don’t allow that so we will try to ftp it with the file manager. The host has several ftp programs:

WS_FTP

CuteFTP

Fetch

Smart FTP

LeapFTP

Browsers

Any suggestions on which would be the best?

I have used pretty much all of them and they will all get the job done. I am sure everyone here will have a different preference, just pick one and get uploading :slight_smile:

First, I’m not sure about the Windows based server. I know that some people use them on here, but I know a lot of people complain and have problems because of it. I’m not any kind of server expert so don’t take my word for it.



As for ftp programs, I’ve used most that are on your list as well. My favorite has always been WS FTP. Unfortunately I’ve never been able to get it to run right on either Vista or Windows 7. I’m not sure if it is because I’m using the 64 bit system or what, but it’s just been a problem.



I also like CuteFTP and SmartFTP. They all seem to work pretty much the same so I really couldn’t tell you much about their differences or pros and cons.



Brandon

One more question, of many. We(not me) decided to try one more time to upload it through DW (we really like to torture ourselves) onto the remote site(which works) and then go to the next step of installing, which doesn’t work.

Question: The hosting company said everything looked good on the remote end except the CGI acess levels needed to be change so I needed to go into to every folder that has an .htaccess and do the following:

Assuming the script is correctly written, make sure you install an .htaccess file in the directory where you plan on running the CGI script.

The .htaccess file is a one-line text file named .htaccess . Inside the file should be the directive ForceNoProxy On. This file needs to be inside the directory that you are running CGI scripts from.




Which I did and it still won’t install. Personally I am wanting to just go from Desktop to remote and use an ftp to open it. It is loaded onto DW and seems to be fine

Accessing linux server from windows, this ftp client is a must:

[url]http://winscp.net/eng/download.php[/url]



Connect as sFTP (SSL) and this app allows a quick command line access, user groups changes for file permissions… Open file to edit in your custom editor (like dreamweaver), each time you save the edited file (without closing like CTRL+S in your editor), changes automatically detected and uploaded so you can test on the server immediately without explicitly uploading the edited file…



Before I was using FileZilla, a great FREE FTP but it lacks linux access features.



EDIT: re-read your post, so you are looking windows-to-windows, get FileZilla then.

[url]http://filezilla-project.org/[/url]

okay, we finally got it to load/install correctly on our local computer, skipping DW. The next step is to upload/install it to the host server. Question for those that use DW: did you upload it to the host and then just edit in DW or did you go the painful route of DW and then the host? We will use what Texas guy recommended for our ftp since we are on a windows based platform

Well, I’m not really sure what you’re asking in that last post, but this is how I use Dreamweaver with CS-Cart.



1.) Install CS-Cart on my localhost

2.) Create a site in Dreamweaver and point it to my localhost installation

3.) Make my code changes and test them on my localhost

4.) Zip up my site and upload it to my live server, before I upload I change my config file and my .htaccess file

5.) Create and import my database on my live server

6.) Now my site is live with the modifications I have made

7.) Use Dreamweaver to edit my code further for more modifications

8.) Before uploading my files using Dreamweaver I am sure to test my modifications with my localhost installation



By doing these things I can modify my code, test it using my localhost, upload my files using Dreamweaver, and then have my modifications work on my live site.



The only thing that will change are your orders, customers, etc. How I deal with this is that I just export my database from my live site and import it into my localhost about once a week.



There might be a better way, but I prefer my method. I really like using Dreamweaver to edit my code and I love having my localhost installation that matches my live site. Basically I am able to test everything I do before making it live.



I think that was a bit more than you were asking, but there you go anyways.



Brandon

Thanks Brandon, yes that is what we were asking. We have some more questions:

We already have our site http://www.thepurringparrot.com

Before doing all the steps do you up load cs cart to DW from the local site?

so instead of making a site in dw could we just make a page with sub pages for our store? We would like the cart to match the rest of our site.

For step 4 do you upload all of cs cart to the live server so you have all the functions or just the pages?

For step 5 the database: Our live server has mySQL and we already have that turned on, would we need to do more?

[quote name=‘TexasGuy’]Accessing linux server from windows, this ftp client is a must:

[url]http://winscp.net/eng/download.php[/url]



Connect as sFTP (SSL) and this app allows a quick command line access, user groups changes for file permissions… Open file to edit in your custom editor (like dreamweaver), each time you save the edited file (without closing like CTRL+S in your editor), changes automatically detected and uploaded so you can test on the server immediately without explicitly uploading the edited file…



Before I was using FileZilla, a great FREE FTP but it lacks linux access features.



EDIT: re-read your post, so you are looking windows-to-windows, get FileZilla then.

[url]http://filezilla-project.org/[/url][/QUOTE]



I use Fire FTP for Firefox

[quote name='brandonvd' timestamp='1272584294' post='78918']

Well, I'm not really sure what you're asking in that last post, but this is how I use Dreamweaver with CS-Cart.



1.) Install CS-Cart on my localhost

2.) Create a site in Dreamweaver and point it to my localhost installation

3.) Make my code changes and test them on my localhost

4.) Zip up my site and upload it to my live server, before I upload I change my config file and my .htaccess file

5.) Create and import my database on my live server

6.) Now my site is live with the modifications I have made

7.) Use Dreamweaver to edit my code further for more modifications

8.) Before uploading my files using Dreamweaver I am sure to test my modifications with my localhost installation



By doing these things I can modify my code, test it using my localhost, upload my files using Dreamweaver, and then have my modifications work on my live site.



The only thing that will change are your orders, customers, etc. How I deal with this is that I just export my database from my live site and import it into my localhost about once a week.



There might be a better way, but I prefer my method. I really like using Dreamweaver to edit my code and I love having my localhost installation that matches my live site. Basically I am able to test everything I do before making it live.



I think that was a bit more than you were asking, but there you go anyways.



Brandon

[/quote]





Brandon,



Could you share how you set up DW to allow you to edit the TPL files. I am wondering how you setup the server side of things in dreamweaver. Where did you point DW to for your server folder? Was your local site folder in that same location or can you store it elsewhere?



Im keen to use DW to edit my site as i am more familiar with it. I believe the split view is limited to no use, but i am more confident in using software i know as opposed to learning something new.



Thanks



Tom

Go to Edit/Preferences

Add .tpl to the list of suffixes in the “Open in code view” field. I also add .log, .csv, .csc and .ini