31
tayling
Odd - attaching databses error
  • 2005/10/8 23:08

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi all
I am using XOOPS for a site that serves a double purpose for the clients - car rentals and carsales - I have created a database for each and attach the rental one on loading XOOPS site.

I have two includes for each database - identical except for the database name, the first one for rentals is working fine the second an exact copy except for the name and database.
=====================================================
If i use the following (trying to debug)
1. the rental include:
<?php
include("../../../includes/db_connect.inc.php");
$urlsite = $HTTP_HOST;
echo "<font color=white>".$urlsite."</font>";
?>

I get the page with no errors but obviously NO DATA.

If I use (the SALES database include)
<?php
include("../../../includes/db2_connect.inc.php");
$urlsite = $HTTP_HOST;
echo "<font color=white>".$urlsite."</font>";
?>

I get the errors
Warning [Xoops]: Smarty error: unable to read resource: "db:tinycontent0_index.html" in file C:\websites\tcvr\html\class\smarty\Smarty.class.php line 1084
Warning [Xoops]: Smarty error: unable to read resource: "db:tinycontent0_index.html" in file C:\websites\tcvr\html\class\smarty\Smarty.class.php line 1084
========================================================
Is there some sort of rule about reusing database connections or attaching more that two databases?

I have also tried chagning the second include to have different variable names

Any help gratefully appreciated

Cheers

Tony Ayling
Brisbane Australia



32
tayling
Re: Template not working with modules
  • 2005/6/24 10:46

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


As an addendum - Tinyd0 does not appear to work with phpkaox or other themes and displays in the default theme.

I am using Tinyd0 version 2.17



33
tayling
Template not working with modules
  • 2005/6/24 8:42

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi All
I have set up a new XOOPS 2.1o and used the ipb_green theme - my problem is that it wokrs ok with news adn no starting module but when I set the start module to Tinycontent it reverts back th the default theme

I havnt had this problem before and hope someone can provide with a simple solutions

Thanks a lot for 2.1 guys looking good

Regards

Tony Ayling



34
tayling
Tinyd0/tinycontent
  • 2005/5/24 13:13

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi I installed 2.1.1 and added the tinyd0 module - but no matter what I do I cannot get access for annonymous users - groupls rights are set to access but I cannot see any problem - anybody else have this problem - or a solutions?

Thanks
Regards

Tony Ayling



35
tayling
dntml menus in Firefox
  • 2005/5/17 12:53

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi all
I have noticed that on my site www.itmsystems.com.au the tigra menu that i successgully use with IE6 is hiding behind the main page in Firefox.

I am not too familiar with the NN templates but is seems to be falling over on the line with
<{$xoops_js}>

Below it the adapted karate_redux_blue script. the menu JS calls area at the bottom.

Hope someone cangently guide me into the world of making it work Firefox

Cheers

Tony Ayling


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<{$xoops_module_header}>
<script type="text/javascript" language="javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>
<body background="http://www.harmony-solutions.com.au/themes/karate_redux_blue/emboss.gif">
<table cellspacing="0" id="top">

<tr><td class="slogan" colspan="2"><{$xoops_slogan}></td></tr>
<tr id="header">
<td background="<{$xoops_imageurl}>headerbg.jpg" id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.jpg" alt="" /></a></td>
<td valign="middle" background="<{$xoops_imageurl}>headerbg.jpg" id="headerbanner">
<img src = "<{$xoops_imageurl}>logo2.gif">
</td>
</tr>
<tr>
<td class="slogan" colspan="2">

</td>
</tr>
</table>
<table cellspacing="0">
<tr>
<td id="leftcolumn">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<{include file="karate_redux_blue/theme_blockleft.html"}>
<{/foreach}><!-- End left blocks loop -->
</td>
<td id="centercolumn">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">

<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="karate_redux_blue/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->

</td>
</tr>
<tr>
<td id="centerLcolumn">

<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<{include file="karate_redux_blue/theme_blockcenter_l.html"}>
<{/foreach}>
<!-- End center-left blocks loop -->
</td>
<td id="centerRcolumn">

<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<{include file="karate_redux_blue/theme_blockcenter_r.html"}>
<{/foreach}>
<!-- End center-right blocks loop -->
</td>
</tr>
</table>
<{/if}>
<!-- End display center blocks -->
<div id="content"><{$xoops_contents}></div>
</td>
<{if $xoops_showrblock == 1}>
<td id="rightcolumn">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<{include file="karate_redux_blue/theme_blockright.html"}>
<{/foreach}>
<!-- End right blocks loop -->
</td>
<{/if}>
</tr>
</table>
<div id="footer"><{$xoops_footer}></div>
<link rel="stylesheet" href="/include/menu.css">
<!-- menu script itself. you should not modify this file -->
<script language="JavaScript" src="/include/menu.js"></script>
<!-- items structure. menu hierarchy and links are stored there -->
<script language="JavaScript" src="/include/menu_items.php"></script>
<!-- files with geometry and styles structures -->
<script language="JavaScript" src="/include/menu_tpl.js"></script>
<script language="JavaScript">
new menu (MENU_ITEMS, MENU_POS);
</script>
</body>
</html>



36
tayling
Two dmains on one site with different themes
  • 2005/4/10 21:44

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


I have an urgent XOOPS problem - I am trying to replicate a site that is accessed via two different domain names and appears with slightly different theme and logo depending on which domain name used. Is there a away i can change the theme depending on xoops_url? or can I at least change the logo depeneding on the url
>Hope you can help



37
tayling
Two dmains on one site with different themes
  • 2005/4/10 21:43

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


I have an urgent XOOPS problem - I am trying to replicate a site that is accessed via two different domain names and appears with slightly different theme and logo depending on which domain name used. Is there a away i can change the theme depending on xoops_url? or can I at least change the logo depeneding on the url
>Hope you can help



38
tayling
Re: newbb 2 appearance problems
  • 2005/2/18 6:12

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Yes - thanks for the help - i missed the <{$xoops_module_header}> in the theme -

Thanks again
Regards

Tony



39
tayling
newbb 2 appearance problems
  • 2005/2/18 4:51

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi All
am just settnig up the first newbb 2 and have a terrible appearance problem at
http://70.85.48.68/~ezylift/modules/newbb/

doews anyone know why it is repeating or how to remove the side menu causing it?

Thanks
Regards
Tony Ayling
Brisbane Australia



40
tayling
Re: HEADER.PHP problems
  • 2004/9/28 11:03

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi
its still occurring from my browser - are you seeing the correct pages? Thats even odder. I cancure it by logging in as admin - have tried updating the basic modules and changing the start page but the error keeps reoccuring for me

Let me know again if you do not get the error when clicking on Links or other menu items

Cheers
TOny




TopTop
« 1 2 3 (4) 5 6 7 8 »



Login

Who's Online

261 user(s) are online (175 user(s) are browsing Support Forums)


Members: 0


Guests: 261


more...

Donat-O-Meter

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

Latest GitHub Commits