1
robyduck
Move site from remote to local-blank page
  • 2006/3/20 10:39

  • robyduck

  • Just popping in

  • Posts: 16

  • Since: 2005/2/3 2


Hi!
I have a problem in downloading my site from the server to the local system. I downloaded my entire httpdocs from the server, DB too with phpmyadmin. Apache, mysql, php are up and don't have any problems. So i loaded my site into the directory of XOOPS and uploaded the DB in local with phpmyadmin.
What I have is a blank page, even when setting all errors on output=yes in php.ini I don't get any error.
Could it be a problem of different releases?
On the server I have MySQL 3.23, php 4, phpmyadmin 2.6.0 rc3 but in local I'm on MySQL 4.1.16, php 5.0.4, phpmyadmin 2.8.0.2. Both are on a Linux system.
Thank you in advance
Robyduck

2
peterr
Re: Move site from remote to local-blank page
  • 2006/3/20 12:14

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Have you tried running a small php script, just to test if php is running, and that apache root is where you have XOOPS installed ? Just a phpinfo() will do to test.

Also if you have output=yes, you may also want to ensure that the log file for errors is set to no/zero. For .htaccess it would be

php_value display_errors 1
php_value log_errors 0


so with php.ini, it would be a correspinding yes and no. But running the phpinfo() will tell you what these settings are, where the web root path is, include path/s and where php.ini is located. Use the phpinfo() information from your local system, and check it against the phpinfo() from your site.

P
NO to the Microsoft Office format as an ISO standard.
Sign the petition

3
svaha
Re: Move site from remote to local-blank page
  • 2006/3/20 15:17

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Look at the settings in mainfile.php

They should be something like :

Quote:
define('XOOPS_ROOT_PATH', 'C:/Program Files/xampp/htdocs/xoopsdirectory');


and

Quote:
define('XOOPS_URL', 'http://localhost/xoopsdirectory');



If you have a local network (intranet) then you have to fill in the ip number in stead of localhost.


Also check (if it still doesn't work) the chmod of cache templates_c and uploads directories.

4
robyduck
Re: Move site from remote to local-blank page
  • 2006/3/20 21:05

  • robyduck

  • Just popping in

  • Posts: 16

  • Since: 2005/2/3 2


Thank you for your answers, the settings for the errors are on, I controlled it also with phpinfo(). In the mainfile the settings are correct, also the user and pass for the DB (checked also on phpmyadmin). The chmod of the directories cache, template_c and upload is ok, 777.
Any other ideas? Are the different versions a problem or you don't think so?
Bye

5
Bender
Re: Move site from remote to local-blank page
  • 2006/3/20 21:36

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Did you remove your localhost ip (127.0.0.1) from the table of bad ips in XOOPS Preferences before bringing it home?

https://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=45998&forum=1
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

6
zyspec
Re: Move site from remote to local-blank page
  • 2006/3/20 21:37

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


EDITED:

As I recall when you move a site to a local host you have to remove the local host 127.0.0.1 from the banned IP list. You might try changing the value for 127.0.0.1 from the bad_ips variable in the xoops_config table using phpMyAdmin.

Change the value from:

a:1:{i:0;s:9:"127.0.0.1";}

to:

a:1:{i:0;s:0:"";}

Warning - copy down the value stored in the bad_ips variable before you start so you can easily "put it back" if something goes wrong.

7
robyduck
Re: Move site from remote to local-blank page
  • 2006/3/22 22:26

  • robyduck

  • Just popping in

  • Posts: 16

  • Since: 2005/2/3 2


AAAARRGGHHHHH, you're right!!
I edited the file as posted by zyspec and now it works. Thank you very much!
Bye Robyduck

Login

Who's Online

294 user(s) are online (208 user(s) are browsing Support Forums)


Members: 0


Guests: 294


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits