Jump to content

Archived

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

saycots

Error when changing hosting and domain

Recommended Posts

Hello migrate my site and I changed the domain, either alone aspect is that the home page and other pages is up this error:

 

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home) in /home/userhost/public_html/portal/includes/functions/sessions.php on line 160

 

And when I enter the admin panel not shown me nothing but the following list of errors:

 

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home) in /home/userhos/public_html/portal/admin/includes/functions/sessions.php on line 165

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/userhost/public_html/portal/admin/includes/functions/sessions.php:165) in /home/userhost/public_html/portal/admin/includes/functions/sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/userhost/public_html/portal/admin/includes/functions/sessions.php:165) in /home/userhost/public_html/portal/admin/includes/functions/sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at /home/userhost/public_html/portal/admin/includes/functions/sessions.php:165) in /home/userhost/public_html/portal/admin/includes/functions/general.php on line 12

 

Now change the domain to connect to the database which is good but I have all these errors, someone tell me how to fix it or it might aparescan these errors.

 

From already thank you very much

Share this post


Link to post
Share on other sites

Mauro,

 

It looks to me like you need to create or change permissions on the /tmp directory.

 

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites

I have a job (at the other hosting and domain) had the / tmp (folder) off the Portal folder (where is the osccomerce).

 

I'll have to put in the same folder?

That permission has?

You can download one to upload?

 

From already thank you very much

Share this post


Link to post
Share on other sites

Mauro,

 

Just create a /tmp directory in your root or catalog directory. Give it permissions 755

 

 

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites

have those permits is more movement to catalog the folder of my site but still the same error. that can be what happens?

 

Since the other site was wrong everything.

Share this post


Link to post
Share on other sites

Mauro,

 

Check the two configure.php files to ensure the path is set correctly.

 

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites

are good for nothing but change the domain and user data and provides basic data and data previously used another hosting and domain, but do not understand why this error appears.

Share this post


Link to post
Share on other sites

×