1
chefry
Ready to Upload
  • 2006/12/8 16:32

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Hi All

I used xampp to build my new website on my computer. I used XOOPS for my CMS.

Now I've completed building the site and I'm ready to upload it to my host. What do I have to do? I've tried a few of the external features on the site, but they don't work because they can't findhttp://localhost/etc. So obviously I have to make some changes to links, etc. before I upload. And I can't find a feature to backup the database in phpmyadmin.

Any advice would be helpful and appreciated.

Thanks
Frank

2
chefry
Re: Ready to Upload
  • 2007/1/5 9:26

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Quote:

chefry wrote:
Hi All

I used xampp to build my new website on my computer. I used XOOPS for my CMS.

Now I've completed building the site and I'm ready to upload it to my host. What do I have to do? I've tried a few of the external features on the site, but they don't work because they can't findhttp://localhost/etc. So obviously I have to make some changes to links, etc. before I upload. And I can't find a feature to backup the database in phpmyadmin.

Any advice would be helpful and appreciated.

Thanks
Frank


A response would be appreciated. I uploaded and get the error"XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run." When I created the cms on my laptop it was in a subdire called xoops. bit I don't want it there now. I want the index.php to be accessed directly from my url not www.url.com/xoops/index.php. How can I fix this?

3
dizzymarkus
Re: Ready to Upload

Goto mainfile.php and change the script address to what it is now -- should be in the top few lines. If you dont know the script address upload to root the php I will attach...--then got to

http://www.YOURSITE.com/get.php

copy the address that appears and paste it into the mainfile.php-- save changes.


Second (DB)

I dont use any programs to backup my db-- its actually pretty easy just using phpadmin. Im not sure but someone my have an easier way but this works great for me.

I use wamp not xamp but am sure the process is the same.

Goto phpadmin (LOCAL) to your db and click export. Make sure all tables are selected ( top left here-- cntrl click to multi select )
or use the check all check box at the bottom. tick the box that says "save as file" I name it the same as my production db name. The prefixs should remain the same I believe. IE xoops_users, -- xoops_groups etc. Save to "desktop-- or wherever you like)

I then install a fresh copy of XOOPS --PRODUCTION server--( solveing your script path stuff lol) go into php admin and remove all tables inside of the new db goto sql and paste the sql code from the file you save. (((( open sql file in wordpad if ya like)))))

you wont need to copy this part ---------------------------

-- phpMyAdmin SQL Dump
-- version 2.8.2.4
--http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 30, 2006 at 09:18 PM
-- Server version: 5.0.24
-- PHP Version: 5.1.6
--
-- Database: `your_db_name`
--

-- --------------------------------------------------------


but copy the rest and paste it in. poof right where you were when you left off.I hope this is enough to help you. Its really pretty simple once you have done it once or twice. If your sql gives you problems depending ont he size of your db do it in sections. :0)

Markus


I cant attach so heres the get.php just paste it into your editor and save as get.php-----

<!----------------------get.php script-------------------->

<?php
echo str_replace('\\','/',getcwd());
?>

<!-----------------------end_code------------------------->

Login

Who's Online

213 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 213


more...

Donat-O-Meter

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

Latest GitHub Commits