Download website not viewing in another webserver ??

  • 1
  • Question
  • Updated 9 years ago
  • Answered
I have a yola website. I've downloaded it so i can show it on a laptop at our community centre (we do not have internet access there), and I have added it to a Wampserver 2.0 web server.
I have ensured that apache rewrite is on but when loading the index page it points to the yola website. I need it to point to the downloaded site, what am i doing wrong.

Thanks guys
Photo of Paul

Paul

  • 4 Posts
  • 0 Reply Likes
  • frustrated

Posted 9 years ago

  • 1
Photo of Techjar

Techjar

  • 122 Posts
  • 3 Reply Likes
I seem to be having the same issue.

Having knowledge of PHP, I will look at the code and see if I can figure out what's wrong.
Photo of Techjar

Techjar

  • 122 Posts
  • 3 Reply Likes
Have you installed SQLite 3? I read in the README.txt that it is needed, so I will test it.

EDIT: It's a PHP extension, and I already have it enabled so that's not the issue.
Photo of Techjar

Techjar

  • 122 Posts
  • 3 Reply Likes
Found the fix!

Delete or rename the "domain.info" file.
Photo of Paul

Paul

  • 4 Posts
  • 0 Reply Likes
Thanks a mill techjar....this worked a treat, but now i have the following errors....any ideas

Deprecated: Function split() is deprecated in C:\wamp\www\gatewaychristianfellowship\router.inc.php on line 102

Deprecated: Function split() is deprecated in C:\wamp\www\gatewaychristianfellowship\router.inc.php on line 107

Deprecated: Function split() is deprecated in C:\wamp\www\gatewaychristianfellowship\classes\commons\includes\Common.inc.php on line 123

Deprecated: Function split() is deprecated in C:\wamp\www\gatewaychristianfellowship\classes\commons\includes\Common.inc.php on line 123
Photo of Paul

Paul

  • 4 Posts
  • 0 Reply Likes
Line 102
$split_arr = split("/", $path)
Line 107
$self_arr = split("router.inc.php",$_SERVER['PHP_SELF']);

Line 123
$path_bits = array_values(array_filter(split("/",$path))); //split the uri into bits, clean blank array elements and re-index the array
Photo of Techjar

Techjar

  • 122 Posts
  • 3 Reply Likes
This is telling you that the PHP split() function is deprecated. A simple fix is to replace it with the explode() function, which does the same thing needed in this case.

P.S. When posting blocks of code (PHP, JavaScript, ect.), try putting <code> before it and </code> after it. This will put it inside a code block, making it easier to read. Example:
<code>// This is sample code.
// It's PHP, so try running it on a PHP web server.
$var = "text";
echo $var;
</code>

Use <pre> and </pre> if you are posting just one line of code, as it removes the border.
Photo of Paul

Paul

  • 4 Posts
  • 0 Reply Likes
Thanks again techjar, the explode worked, thankfully after the split code was delimitters, so i changed it and viola it all worked fine

Thanks a mill
Photo of Techjar

Techjar

  • 122 Posts
  • 3 Reply Likes
No problem, I'm always glad to help someone out.