Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dreamweaver


kshayne

Recommended Posts

I'd like to be able to use Dreamweaver to design and code my site. I have connected to the database and can see all the tables as well as the files on my site (synch'ed up). The issue is that even with index.php I cannot see anything in the design section. The same goes for my other pages. I'm not sure what's missing.

 

I have php and mysql on my local machine but do not see how bringing everything local would change the above situation. I'd really like to design a few changes but I'm stumped.

 

Help!

 

Thanks,

 

Kevin

Link to comment
Share on other sites

Dreamweaver is absolutely hopeless for working with osCommerce - and whatever you do please don't use the Dreamweaver FTP Client to upload files or you'll end up in trouble with corrupted files.

 

For FTP use either FileZilla (free) or WS FTP (30 day free trial).

 

To work on osCommerce on your computer turn it into an Apache web server using XAMPP (http://www.apachefriends.org/en) - which is an all-in-one package which contains Apache, PHP 4 & 5, MySQL, phpMyAdmin, FileZilla etc. It is literally a 1-click install. Download the 'Installer' version.

 

Vger

Link to comment
Share on other sites

The issue is that even with index.php I cannot see anything in the design section. The same goes for my other pages. I'm not sure what's missing.

 

Its tough to understand when you first start to edit php pages in Dreamweaver. You have to remember that php is a scripting language that get parsed by the php engine prior to the page being displayed in the browser; therefore, you don't get the "what you see is what you get" feel in the design view. Really you just see where the php scripting is embedded.

 

This is where learning how to work with php in 'code view' comes in. It takes time but you can get it.

 

I have php and mysql on my local machine but do not see how bringing everything local would change the above situation. I'd really like to design a few changes but I'm stumped.

 

I agree. You can do your testing right off your production box prior to the deployment of site.

 

I setup my Dreamweaver sites by pointing my 'Testing Server' to the same settings as my 'Remote Info' settings. Works like a charm!

 

Finally, I'm just starting my third oscommerce site using Dreamweaver, never had any file corruption problems. I'm running MX 2004.

 

Good Luck,

Tim

Link to comment
Share on other sites

I agree with TimJordan, upgraded to Dreamweaver MX '04, I also agree with vger on the Dreamweaver FTP part, now I use CoreFTP (I haven't had any ftp problems with DW '04) but I prefer a pure ftp client).

 

I'm interested in moving an active store from Miva Merchant to osCommerce, thanks to vger I checked out Xammpp (very interesting).

 

I went with the Xampp XP installer, more convenient for me, but the actual store will reside on a linux box and SQL and osCommerce are automated installs.

 

I also thought the Xampp would emulate an SSL cert, but I see the osCommerce admin is saying otherwise. Will I still be able to test the Linkpoint API contribution?

 

 

***

New Installation

 

osCommerce Configuration

The configuration was successful!

***

 

 

Now I've got xampp and oscommerce installed on an xp pro corp.sp2 box, but I'm getting errors from catalog:

 

===============================

Warning: session_start() [function.session-start]: open(/tmp\sess_654957087093db42295f174ae1858a68, O_RDWR) failed: No such file or directory (2) in E:\Program Files\xampp\htdocs\catalog\includes\functions\sessions.php on line 97

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at E:\Program Files\xampp\htdocs\catalog\includes\functions\sessions.php:97) in E:\Program Files\xampp\htdocs\catalog\includes\functions\sessions.php on line 97

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:\Program Files\xampp\htdocs\catalog\includes\functions\sessions.php:97) in E:\Program Files\xampp\htdocs\catalog\includes\functions\sessions.php on line 97

 

Warning: I am able to write to the configuration file: E:/Program Files/xampp/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

Warning Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

===============================

 

Again, I know oscommerce will install without errors on the linux server, but for visual purposes I'd like to clear them up before I get started on the store itself.

 

How do I remedy these errors?

 

Thanks,

Kallist0

Link to comment
Share on other sites

Hi Kshayne,

 

My guess is that your problem lies in the fact, that your viewing the file in the "design mode".

And because all files in osc are php, you'll need to set DW to use the "code mode".

You can find these two tabs just under the file name at the top of the page.

 

I've been using DW in various versions for 5 years now to edit, udate and upload my shop (also the ones of my customers).

I never had any problem with it what so ever.

Link to comment
Share on other sites

No, I'm using Xampp and osCommerce. When I load osCommerce in my web browser:

 

http://localhost/catalog/

http://localhost/catalog/admin/

 

I see the errors above the webpage.

 

The temp folder error seems simple enough, in what folder do I create the temp folder?

 

The session error appears to be a file permision issue. This is the first time I've worked on a Windows box outside of Dreamweaver. Right clicking on the file isn't giving permision options.

 

LOL I went from Win 3.0 geek to linux geek and forgot the way back.

 

Thanks in advance

Kallist0

 

Hi Kshayne,

 

My guess is that your problem lies in the fact, that your viewing the file in the "design mode".

And because all files in osc are php, you'll need to set DW to use the "code mode".

You can find these two tabs just under the file name at the top of the page.

 

I've been using DW in various versions for 5 years now to edit, udate and upload my shop (also the ones of my customers).

I never had any problem with it what so ever.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...