1
highlander
Re: how can one send html mail using xoopsmail?
  • 2007/4/23 14:07

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


great post ! helped me a lot today, thanx !

highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



2
highlander
Re: an ajax aproach in theme
  • 2007/3/3 20:37

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hello Farshid,

Your demo site (proof of concept) is really impressive.
I will check it out regularly to see how far you can get this idea going.

Keep up the good work !

Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



3
highlander
Re: xlanguage and php 5.2
  • 2007/2/25 13:29

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Fixed it... *does the happy dance*

Here's what I needed to do to get it working. (both on xlanguage 2.04 and 3.0)
comment out the folling line in include/functions.php
//$langs =& $GLOBALS["xlanguage_handler"]->getAll(true);

Add the folling line to the top of the xlanguage_ml() function in include functions.php
global $langs;

Add the folowing code to api.php
$langs =& $GLOBALS["xlanguage_handler"]->getAll(true);
just before the line :
ob_start("xlanguage_ml");


obviously a scope problem of some kind.
I am still curious if anyone alse has seen the same problem on php5.2 ? and why the problem appears on 5.2 and not on other php versions.

Kind regards,

Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



4
highlander
xlanguage and php 5.2
  • 2007/2/25 10:24

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi All,

I have been racking my brain on this for hours now
and just can't seem to find it, can anyone give me a hand ?

My host has set up a testing site for me as they are going to upgrade from php 5.1.6 to 5.2

A blank screen is being displayed after the upgrade because of an error which is being caused by xlanguage in the buffer. I have found out it is the following line in modules/xlanguage/include/functions.php
$langs =& $GLOBALS["xlanguage_handler"]->getAll(true);

I know it is this line because if i put reutrn $s; on the line before it the functions gets exited and the output to the buffer stops. My site then shows up but obviously with all the langauge tags displayed.

Does anyone know why php 5.2 might have a problem with this part of xlanguage ?
If I add this line to the .htaccess file :
AddType application/x-httpd-php-.php
to force the server into php4 mode everything works as expected.

Dropping Xlanguage is not an option for us and seeing as it will become part of the core this might affect others to.
This error is happing with xlanguage 2.04 and the new xlangauge 3.0 versions. Allthough the xlanguage_ml() functions differs the error is still thrown on the same line ! ($langs =& $GLOBALS["xlanguage_handler"]->getAll(true);)


Can anyone think up a good strategy to find out what is going wrong ?

Kind reagrds,

Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



5
highlander
Re: Where to put Google Analytics?
  • 2007/2/20 10:43

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Just put the code into the footer in the admin side.
I have it there on all my sites and it works a treat !

you'll love analytics !!!

kind reagrds,

Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



6
highlander
Re: blank page upon completion of installation and following error on home page
  • 2007/2/18 14:09

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


I know its an old post but this error can be caused by having a wrong table_prefix defined in mainfile.php.

Kind regards,

Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



7
highlander
Re: select a single quote from MySQL ?
  • 2006/11/13 16:33

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hello Dave_L,

1) Thats just me trying to make an example which makes more sences than my actual data. Figures I'd get that bit wrong !!

2) Works well for me to !! Thanx a bunch.

Strange how you can just stare at stuff and not see the anwser. I'd tried every variation of escaping characters exept the right one. Makes perfect sense now.

Kind regards,

Highlander (in an escaping mood)

p.s. strange though that phpmyadmin creates an incorrect query when using the Search mode and a LIKE query instead of a = query.
SELECT 
FROM `tablename
WHERE `NAMELIKE CONVERT_utf8 'name with \'' a single quote'
USING latin1 
COLLATE latin1_swedish_ci
LIMIT 0 
30
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



8
highlander
Re: select a single quote from MySQL ?
  • 2006/11/13 15:51

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


1) the data is completely fictious.

2) the column value contains \'

I agree with you on the not using quotes, they can be nasty.
However I have always been able to solve stuff, but can't seem to get this one done...grr

Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



9
highlander
select a single quote from MySQL ?
  • 2006/11/13 9:36

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi All,

This can't be hard but it is driving me nuts.
The following query does not produce any results when I can clearly see the correct row in the database :

SELECT FROM `tablenameWHERE NAME 'A name with ' a single quote';


I have tried every possible adaptation but can't select a row based on a string with a single quote in it.

Phpmyadmin suggests the following :

SELECT 
FROM `tablename
WHERE `NAMELIKE CONVERT_utf8 'A name with \'' a single quote'
USING latin1 
COLLATE latin1_swedish_ci
LIMIT 0 
30

But still does not produce my row.

The string stored in the database is simply the following :
name with \' a single quote

Can someone please tell me how to select it !?

Kind regards,

Highlander

edit: seems to have been submitted twice, could an admin press delete ?
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



10
highlander
multimenu active link
  • 2006/11/9 18:16

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hello all,

I've been using Multimenu for wuite a while now and was wondering if there is any way to change the formatting of the active link.

I know I can use css to change the appearance of the mainlinks and the sublinks; but I would like to highlight the current (or active) link.

Any thoughts ?

Kind regards,

Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com




TopTop
(1) 2 3 4 ... 14 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

64 user(s) are online (34 user(s) are browsing Support Forums)


Members: 0


Guests: 64


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