1
chefry
How to upload from Localhost?
  • 2009/3/15 13:59

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I created my new site using Wamp as a localhost.

So, of course, all links are /localhost/bla/bla/...

when i upload do i have to insert the actual URL? http://mysite.com/modules/etc...

Or is there an abbreviated URL i use?

TIA
Frank

2
jdseymour
Re: How to upload from Localhost?

If it is on localhost, you have a folder that XOOPS is installed in like /var/www/html or /home/user/public_html depending on your setup. Just copy or move the files to the needed folder. No need to upload.

3
chefry
Re: How to upload from Localhost?
  • 2009/3/15 15:02

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I'm uploading from my localhost test to a webhost

Some of the articles I have in the "News 1.63" module are linkted together or linked to a "extgallery"

I want to know if I can use an abbreviated link or do I have to use the full "http://mysite.com/etc/etc/etc...

4
chefry
Re: How to upload from Localhost?
  • 2009/3/15 16:12

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I have another problem....

I just finished uploading the site to the webhost
the said the root directory was /home/xxxxx

so i changed the paths in mainfile.php to:

define( 'XOOPS_ROOT_PATH', '/home/xxxxx' );

// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define( 'XOOPS_PATH', '/home/xxxxx' );
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define( 'XOOPS_VAR_PATH', '/home/xxxxx' );
// Alias of XOOPS_PATH, for compatibility, temporary solution
define("XOOPS_TRUST_PATH", XOOPS_PATH);

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define( 'XOOPS_URL', 'http://localhost' );
define( 'XOOPS_URL', 'http://xxxxx.cc' );

Now when i try to access the site I get these errors


Warning: include() [function.include]: Failed opening '/home/xxxxxxxx/include/common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxx/public_html/mainfile.php on line 97

HELP!!!

[Moderator Edited: Sailjapan]

5
Catzwolf
Re: How to upload from Localhost?
  • 2009/3/15 16:21

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Can you please edit this post to hide important parts of your server address, this could be a security issue for yourself.

To like this:

Quote:
define( 'XOOPS_PATH', '/home/xxxxxxx' );

6
chefry
Re: How to upload from Localhost?
  • 2009/3/15 16:32

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Thanks for the advice


I fixed that problem, but now I have another

Now I get

Error: Smarty error: the $compile_dir '/caches/smarty_compile' does not exist, or is not a directory.


Any ideas? Anyone?

The directory DOES exist and is writeable 777

7
chefry
Re: How to upload from Localhost?
  • 2009/3/15 17:46

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Can someone help me with this so I can get my website running?

Login

Who's Online

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


Members: 0


Guests: 353


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