1
gumleaf
Re: Install xoops on local machine .. whats the "root path"?
  • 2006/3/27 13:04

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Thanks david2

I just came back to say "Don't worry I solved it" and I see you came up with the correct solution too!

I just put it as C:/FoxServ/www .. which .. as you said was the physical location of the files. Works perfectly. Pretty slow though! Just as slow as on the online server! I would have thought it would be as fast as using Widows Explorer on local files! .. Oh well.

Thanks



2
gumleaf
Install xoops on local machine .. whats the "root path"?
  • 2006/3/27 12:26

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Hi

I've successfully installed "Fox Server" on my local computer and am trying to install a copy of my XOOPS site on it. (Fox Server is a MySQL/PHP/Server Package for running php/mysql sites locally.)

I've copied the database to it and all the files.

I know I have to edit the mainfile.php but what do I put for the ('XOOPS_ROOT_PATH', '/XXXXXXXXX'); ???

The url for the localhost on my machine is http://localhost/


For the XOOPS url I put ('XOOPS_URL', 'http://localhost'); .. which I "think" is correct.


I tried putting just localhost as the root path as well .. that is ...

('XOOPS_ROOT_PATH', '/localhost');

but I get the error message of "XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run."

On an online server it would be something like ..

('XOOPS_ROOT_PATH', '/home/user/domains/mysite.com/public_html');

Anyone know what the root path is on a local machine?? I mean .. I don't have a "domain name" on it or anything.

Thanks



3
gumleaf
Thailand Expat & Travel Site
  • 2006/3/10 7:34

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Hi
This site is just a couple of months old and I have just had my first attempt at making a theme for it.

http://thaiexpat.org

Actually .. its the default theme and I just replaced all the templates with my own.

I'm trying to get it as uncluttered as I can and make it easy to read.

I'm still working on it though and would appreciate any criticism or suggestions. .. I haven't done anything with the forum templates yet as I think thier ok as they are for now.

Thanks



4
gumleaf
Convert CBB3 back to Newbb2
  • 2006/3/8 10:33

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Hi

Is it possible to convert my cbb3 back tp newbb2?

I want to change to IPB and there is a convertor for newbb2 to IPB.

Thanks




5
gumleaf
Re: System does NOT mail new user reg notifications
  • 2006/1/10 11:15

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Same problem here with XOOPS 2.2.3 final .. any clues?



6
gumleaf
Re: Problem with new user notification
  • 2006/1/10 11:08

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


I've got the same problem .. same XOOPS version .. same settings as above.

Anyone got a clue?




7
gumleaf
Re: iFrame Trouble in Custom Module
  • 2006/1/6 10:59

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Upon further experimentation .. I've found its not a XOOPS problem (sorry xoops) .. but like someone above said .. its the cgi script stuffing things up.

I made a php test page containing the iFrame and a test header and footer.

I used the "include" statement to call the header and footer.
(no XOOPS code at all .. this was a separate page for the test)

Same problem again .. header loads .. main section with the iFrame loads .. everything stops and the footer does'nt load.

I made a 100% html page with the header/main section/footer all built in .. same problem .. the rest of the page after the iFrame does'nt load!

So Ok .. it must be the cgi script .. guess I'll just have to live with no footer on that one page !

PS .. I tried the iFrame module mentioned .. same problem!
Should have done this before .. but time to hit Google with "iFrame cgi script" .. will report back!



8
gumleaf
Re: iFrame Trouble in Custom Module
  • 2006/1/6 10:46

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Quote:

Biteronboard wrote:
Not that it is necessary, but had you considered submitting your modules? Getting them out there could get others interested in perfecting and enhancing your foundation. Just a thought.


I would if they were anything special .. but they are just boring old html content .. I really don't have to have the pages in a module at all .. it was just "tidier" that way.




9
gumleaf
Re: iFrame Trouble in Custom Module
  • 2006/1/5 0:17

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


A "width" as a percentage does work in an iframe. Its the "height" that does not work as a percentage.

Unless you meant the width does'nt work as a percentage in an iframe in XOOPs.

I tried it anyway .. same problem. The iframe is working perfectly .. as it was before ..thats not the problem.

The problem is with Xoops. Its not loading the footer after the iframe.




10
gumleaf
iFrame Trouble in Custom Module
  • 2006/1/4 13:08

  • gumleaf

  • Just popping in

  • Posts: 36

  • Since: 2005/11/27


Hi all

I,ve made a few custom modules with html content as described in FAQ.

They all work OK except for one which contains an iFrame.

THIS IS THE PAGE HERE

First the header and left column loads .. then the iframe loads .. then everything else stops .. i.e the footer does'nt load.

I've tried it as a stand alone php page with the html/iFrame content and the XOOPS head/footer wrapped around it .. same problem.

I.ve tried using an "include" instead of an iFrame too. This works ok but the target page distorts/pushes everything off screen as I have no control over the target page (my ebay home page).

At least with the iFrame I can confine it to a certain area.

This is the code of the page ..

<?php
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>
<div align="left">
<center><table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FDEFD2">
<tr>
<td width="100%" bgcolor="#FFB818"><font size="2" face="Verdana"><b>Thai
Expats Ebay Auctions</b></font></td>
</tr>
<tr>
<td width="100%" align="center"><img border="0" src="http://thaiexpat.org/images/space2.gif" width="1" height="10"></td>
</tr>
<tr>
<td width="100%" align="center"><script type="text/javascript"><!--
google_ad_client = "pub-6846905688707445";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al";
google_ad_channel ="";
google_color_border = "FDEFD2";
google_color_bg = "FDEFD2";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
<tr>
<td width="100%" align="center"><img border="0" src="http://thaiexpat.org/images/space2.gif" width="1" height="10"></td>
</tr>
<tr>
<td width="100%"><iframe SRC="http://cgi3.ebay.com/ws/eBayISAPI.dll ... e&userid=thai_expat" width="100%" height="2500" framespacing=0 frameborder=no border=0 scrolling=no</iframe></td>
</tr>
<tr>
<td width="100%" align="center"><img border="0" src="http://thaiexpat.org/images/space2.gif" width="1" height="10"></td>
</tr>
</table>
</center>
</div>
<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>

The xoops_version.php file is also present (correctly edited)

I've tried it with just the iFrame code only .. without all the google rubbish also .. same thing.

Any ideas?

Thanx

Using XOOPS 2.2 final .. but same problem in 2.0.13





TopTop
(1) 2 3 4 »



Login

Who's Online

80 user(s) are online (42 user(s) are browsing Support Forums)


Members: 0


Guests: 80


more...

Donat-O-Meter

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

Latest GitHub Commits