close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Using Host Site as Test Site

Thread began 4/15/2009 1:24 pm by jazzman247315378 | Last modified 6/02/2009 5:52 am by Ray Borduin | 5433 views | 12 replies |

jazzman247315378

Using Host Site as Test Site

Anyone out there using their host site as test site? New to Powerstore and having difficulty setting up local testing server with DWCS3 so decided to upload to host site but having trouble. Any advice/hints would be appreciated.

Sign in to reply to this post

Ray BorduinWebAssist

It should work using your live site for testing. What problems are you having?

Sign in to reply to this post
Did this help? Tips are appreciated...

David StringerBeta Tester

We're all new to Power Store!

Originally Said By: jazzman247315378
  Anyone out there using their host site as test site? New to Powerstore and having difficulty setting up local testing server with DWCS3 so decided to upload to host site but having trouble. Any advice/hints would be appreciated.  



Hi Jazzman,

I've put the site up on the following test area but having a few teething problems! I have done a few mods to the site though!

www.stringer-family.co.uk

Outline your problems and I'm sure you'll get an answer.

Sign in to reply to this post

jazzman247315378

Good point David -- we are all new to it. I guess I should have clarified a little more and said I'm new to the "eCommerce/catalog" site building world -- not to html.

I purchased PowerStore with the hopes that I could have more control over the look and feel of the store as opposed to the monotonous look of a "stock" store.

The difficulty I'm having is that I have:
1. Downloaded and printed all of the help files for PowerStore and have done each
point as a checklist.
2. Set up my sql and phpserver -- I can see the table structure on my host
2. uploaded my local files to my web host (1and1) via DWCS3 (after trying
to edit the .dwt file through DWCS3)
3. Attempted to edit/add product

At this stage of the game, I see the files on my host. But I can not get the function. I have checked and rechecked paths, but I am still not having any luck. What am I missing?

Sign in to reply to this post

jazzman247315378

Server Error

Here's the message I am getting when I attempt to access a page directly from Firefox:

Fatal error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /homepages/33/d267431537/htdocs/Connections/localhost.php

Looked through my localhost file and not seeing the problem. It is pointing to the sql file.

Suggestions?

Sign in to reply to this post

David StringerBeta Tester

Global File

Originally Said By: jazzman247315378
  Here's the message I am getting when I attempt to access a page directly from Firefox:

Fatal error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /homepages/33/d267431537/htdocs/Connections/localhost.php

Looked through my localhost file and not seeing the problem. It is pointing to the sql file.

Suggestions?  



Have you also configured and uploaded the globals.php file?

That's the first file called by the Products_Results.php file etc.

As you're using Dreamweaver, do you see any tables in your Databases file?

Sign in to reply to this post

Ray BorduinWebAssist

It looks like your database connection information is invalid. Most likely the database server setting is wrong. This is set in the connections file itself probably where the error is occurring.

Sign in to reply to this post
Did this help? Tips are appreciated...

David StringerBeta Tester

Any joy on the server error?

Hi Jazzman,

Have you managed to sort this yet?

I wondered if it may help if I give you my configuration of the Connections file?

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "00.00.000.000"; //Put my server IP address here
$database_localhost = "whatever"; // Name of database on server
$username_localhost = "something"; //username for access to database
$password_localhost = "anythingSecure"; //Good password
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>

With this file, Dreamweaver set up correctly and the globals.php file set up, you should be able to view details of the database under the Databases tab in Dreamweaver.
Hope this helps!

Sign in to reply to this post

jazzman247315378

Thanks

David, thanks for the help. I am going to try this today and see if I can get it working locally and then move it to the host. Appreciate it

Sign in to reply to this post

David StringerBeta Tester

Originally Said By: jazzman247315378
  then move it to the host.  



For yourself and others in future, can I mention that in order to upload your graphics from the Admin page to your site, it will be necessary to alter the permission on the upload images folder to 777, otherwise any uploads will probably fail!

Just one of my teething problems solved.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...