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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

host is HostGator - can't get db server path

Thread began 6/18/2010 2:25 pm by brendafos379366 | Last modified 6/25/2010 8:42 pm by neilo | 4098 views | 28 replies |

brendafos379366

host is HostGator - can't get db server path

I'm doing the wizard install and I'm stuck at what the correct server/ host path to the db is?

My host is HostGator. I've chatted with them and still not working?

Do I need to edit some php file?

I get this error when I use what HostGator recommends as the path to the DB --

Warning: require_once(../../CMS201/rename_and_upload_this_folder/Connections/PowerCMSConnection.php) [function.require-once]: failed to open stream: No such file or directory in /home/coused/public_html/powercms/install/3.php on line 3

Fatal error: require_once() [function.require]: Failed opening required '../../CMS201/rename_and_upload_this_folder/Connections/PowerCMSConnection.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/coused/public_html/powercms/install/3.php on line 3

Sign in to reply to this post

Jimmy Wu

It looks like this might be a permissions issue on the directory. The connections directory and the PowerCMSConnection.php file is generated on that step. You would want to make sure that there is read and write permissions set on the server for the rename_and_upload_this_folder directory for the everyone user.

Sign in to reply to this post

brendafos379366

now 403 error

FIXED: I learned that file permissions can be too high. Now I know. Thanks for your support.

===========

OK, I think you're correct. I did up the permissions to 766. Then I waited a couple of hours. But when I try to access index.php I get the the 403 error. Same thing on trying to access index.php

Next suggestion?

Sign in to reply to this post

brendafos379366

tiny step forward and stuck again

OK, so I fixed the permissions and was able to start the wizard again.
I did the 2.php stuff and now I'm getting an error:

Warning: require_once(../../CMS201/rename_and_upload_this_folder/Connections/PowerCMSConnection.php) [function.require-once]: failed to open stream: No such file or directory in /home/coused/public_html/powercms/install/3.php on line 3

Fatal error: require_once() [function.require]: Failed opening required '../../CMS201/rename_and_upload_this_folder/Connections/PowerCMSConnection.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/coused/public_html/powercms/install/3.php on line 3

When I look at line three in the file 3.php I see:
require_once('../../CMS201/rename_and_upload_this_folder/Connections/PowerCMSConnection.php');

why does the path have /rename_and_upload_this_folder/ ?????
(I checked the permissions on the file 3.php it is 644, which I think is correct.)

Sign in to reply to this post

Jimmy Wu

This is a response sent from your server blocking some of the resources. Take a look at this page that outlines what a 403 error is:
E403.html

You may have to have your hosting provider take a look into the reason you're getting this error.

Sign in to reply to this post

brendafos379366

no longer getting 403 -

Now I'm getting:
Warning: require_once(../../CMS201/rename_and_upload_this_folder/Connections/PowerCMSConnection.php) [function.require-once]: failed to open stream: No such file or directory in /home/coused/public_html/powercms/install/3.php on line 3

Sign in to reply to this post

neilo

Just a passer-by insomniac here, but the wizard seems to be looking for the files in the wrong place (../../CMS201/rename_and_upload_this_folder/Connections/PowerCMSConnection.php) - this seems to be the directory path for the PowerCMS files and folders as they would be on your local machine, and as if you were installing it on your testing-server.

The files and folders on your remote server are located in the powercms/ directory.

For instance your 'PowerCMSConnection.php' connection file that set-up is looking for is at: PowerCMSConnection.php

Did you have these files and folders in a defined site in Dreamweaver installing them on your testing-server first? Or did you rename the folder right-away to 'powercms' and upload that directly?

[Removed Edit]
[New Edit] : If you go to that page - powercms/ and go through the stages 1-3 again, do you get the same result?

Sign in to reply to this post

brendafos379366

still need help

Responding to Nello,

I'm not using a local testing server, but I've uploaded to the live server. I did change the directory name before ftp-ing the files.

When I saw this error I placed a COPY of the file - csm201 in the powercms folder in case it was a path problem.

I am still getting the same error message - see below.

I'm wondering why the path(CMS201/rename_and_upload_this_folder) is being looked for? Shouldn't the path be to the folder I renamed powercms?

I've attached a shot of my file structure on the remote server.

Please help.

=========
Warning: require_once(../../CMS201/rename_and_upload_this_folder/Connections/PowerCMSConnection.php) [function.require-once]: failed to open stream: No such file or directory in /home/coused/public_html/powercms/install/3.php on line 3

Fatal error: require_once() [function.require]: Failed opening required '../../CMS201/rename_and_upload_this_folder/Connections/PowerCMSConnection.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/coused/public_html/powercms/install/3.php on line 3
=======

Sign in to reply to this post

brendafos379366

Started over -- worse issues

I've now deleted the files on the remote and my local workspace.

I re-downloaded and unzipped the folder. Then rename the folder and uploaded it.

I check the permissions and set them correctly.

Now when I try to do the index.php I get errors and it does not even do the server check.

Question:
When you unzip you get a folder CMS201 inside is the 'rename_and_upload....' When you upload do you upload the CMS201 folder?

I have not uploaded the CMS201 folder.. I have been moving the 'powercms' folder up a level and then uploading. It seems that since the path for the wizard is index.php that you do not upload the CMS201 folder to hold the 'powercms' BUT the errors all have the path including the CMS201 folder?

Sign in to reply to this post

neilo

Hi Brenda,

No, you don't upload the CMS201 folder; you rename the 'rename_and_upload_this_folder' to (say, powercms) and upload that directory to the root (remote host) directory on your remote site (maybe /public_html/ - see below)

There are certainly path problems, - I think a previous bad install is making things problematic for you. If you visit:

admin/

you will see that it is looking for folders and files in a (CMS201) directory that is outside of (on the same level as) your root site's directory (/public_html/)

I think that you previously uploaded the cms files and folders and went through (at least a partial) install with the wizard, and some path information was written to the database.

If you deleted all the previous files and folders for previous uploads, and are using fresh files and folders, then the setup wizard should really be running again when you access the powercms directory.

The directory structure you attached shows the remote host directory as being 'www', while the errors seem to indicate that it should be (something like) /home/coused/public_html/'

Your Connections folder also seems not to be where it should be, so it may be that you are uploading all the files and folders to a directory that is not inside the correct remote host directory, but are instead in a directory parallel with - or higher than - the proper remote host directory.

Can you check that you have the correct remote Host directory entered in the site definition for the site?

If the powercms folder is indeed in the correct remote Host directory, and the files and folders are all present and correct, could you see if there is already a connections folder present (there shouldn't be) but if there is, check that it does not contain a text file called 'installed.txt' - if it does, delete it, and try accessing the yoursite.com/powercms directory again.

Jimmy will be here soon and will certainly able to sort it out. though.

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