close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Transferring from one live site to another.

Thread began 1/07/2013 11:54 pm by akstudio | Last modified 1/08/2013 1:09 pm by akstudio | 526 views | 5 replies |

akstudio

Transferring from one live site to another.

I need a bit of direction.

I developed a site for a client, within my own domain, behind a password protected folder. I used powerCMS (design extender extension)

We have been hammering out edits, updates, etc. This all has worked flawlessly. Now, the client wants to go live.

This means I need to transfer all the assets to their server. Which I did, including an export of the DB

on the NEW server. I cannot get the site working at all. I understand there will be a few places to update paths, etc. I CAN connect to the DB fine, however, when hitting a page I just keep getting an "Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complete your request. "

I feel like I need to allow powerCMS to "reinstall" somehow... but at the same time, I think the "reinstall" will force me to start over from scratch.

Where do I even start?

If I remove the line: <?php require_once("WA_CMS/WA_CMS.php"); ?> the site loads, without the DB content, of course.... adding that line just generates the internal server error.

Sign in to reply to this post

Jason ByrnesWebAssist

that is a general error that will be retuned if error reporting is turned off.

to turn error reporting on, add the following code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



once we know what the error is, we will be able to troubleshoot the cause.

Sign in to reply to this post

akstudio

ok that helped a ton, thanks.

I now have it down to 2 errors:

Warning: Unknown: open(/var/php_sessions/sess_97bf0b26b7b1b43665a7cdef57f7a743, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

I still need to go back and update a few paths, it may fix error 2

Sign in to reply to this post

Jason ByrnesWebAssist

that is a problem with the server.

it means that the session.save_path setting in the php.ini file is not correct.

you will need to contact the host to have them correct the problem.

Sign in to reply to this post

akstudio

This is the answer to the session issue:

To run PHP sessions, include the following code at the top of any PHP script that uses sessions:

session_save_path("your home directory path"/cgi-bin/tmp);
session_start();

To find "your home directory path":

Log into the PHP Scripting page for actual path to your home directory.
Replace "your home directory path" with the path shown.

Set session_save_path to a directory within your cgi-bin: either /cgi-bin/tmp as in the example above or another directory as long as the absolute path is correct.


I should just be able to add the /cgi-bin/tmp path into the php.ini, right?

Sign in to reply to this post

akstudio

OK i got that issue ironed out - all good. Thanks for the 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...