close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Trying to add login page but getting 500 error

Thread began 10/27/2016 1:14 pm by Janet | Last modified 10/27/2016 6:40 pm by Ray Borduin | 574 views | 5 replies |

Janet

Trying to add login page but getting 500 error

I'm just starting learning mySQLi, and I don;t know ehre I have gone wrong with this page - http://bannergreenhouses.com/store/

Sign in to reply to this post

Ray BorduinWebAssist

I can't tell by looking at the error alone. If you give me FTP access I could debug it.

Sign in to reply to this post

Janet

500 error solved, but mysql socket error appeared instead :)

Hi Ray, I think the 500 error is because I didn't upload al lthe files required, but I got a separate error - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). I am presuming that is a server side issue and I have my web host scratching their heads as to why right now, but I might very well take you up on the ft issue really soon. Does that error ring any bells with you?

Sign in to reply to this post

Janet

Debugging

Originally Said By: Ray Borduin
  I can't tell by looking at the error alone. If you give me FTP access I could debug it.  


sending ftp info privately

Sign in to reply to this post

Ray BorduinWebAssist

This is a server configuration issue of some sort. You can see others have run into it with a quick google search like here:

http://stackoverflow.com/questions/5376427/cant-connect-to-local-mysql-server-through-socket-var-mysql-mysql-sock-38

Are you sure the database server name is correct in your connection file? That could be the cause as well. Are you able to connect to the phpMyAdmin on that server?

Sign in to reply to this post

Janet

SOLVED

Hi Ray. It actually wasn't a server error, it was completely my fault.

Just for the record if anybody else needs this...

I had copied some old code across to start my page, and I thought I had removed all the mysql php, but I left an old mysql query on the page. the mysql query had no reference to connect with, and therefore gave an error that looked like a server issue.

Moral - check your code and check again!

Thanks for your help!

Sign in to reply to this post

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...