studs-user Mailing List for Studs MVC Framework+ (Page 3)
Status: Beta
Brought to you by:
mojavelinux
You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(4) |
Oct
(5) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
(13) |
May
(1) |
Jun
(12) |
Jul
(36) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
(5) |
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
(13) |
Apr
(1) |
May
(28) |
Jun
(8) |
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
(14) |
Dec
(8) |
| 2007 |
Jan
(2) |
Feb
(9) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Earnie B. <ea...@us...> - 2006-06-14 12:50:03
|
List, I'm having trouble displaying the errors returned by the form validate method. I finally figured out how to redisplay the login form but I'm thinking that I'm still doing something wrong. I've used <html:errors/> and I've used the longer <html:messages id="error" ...> styles for displaying the errors. Any help will be appreciated. Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-06-13 22:07:15
|
Quoting Earnie Boyd <ea...@us...>: > List, > > I am trying to use message properties for my form labels but I'm stuck > for the trying to figure out how to use the fmt:message for the > html:submit value. Can someone give an example or point me to one that > allows me to do this? > > <html:submit value=<fmt:message key="label.Submit"/>/> doesn't work. > Well I figured that one out: <html:submit><fmt:message key="label.Submit"/></html:submit> Now I need help with if the form has more than one Submit how do I know which was clicked in the extended action class? Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-06-13 18:46:54
|
List, I am trying to use message properties for my form labels but I'm stuck for the trying to figure out how to use the fmt:message for the html:submit value. Can someone give an example or point me to one that allows me to do this? <html:submit value=<fmt:message key="label.Submit"/>/> doesn't work. Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-06-13 17:39:26
|
List, I've defined multiple message-resources tags in my struts-config.xml file with a unique key value for each. However, when I specify the bundle in the fmt:message tag I get an "Call to a member function on a non-object" error in "studs/taglib/TagUtils.php" on line 50. This is most likely caused by the $request->getAttribute($bundleKey) returning a null reference. The question is, where should the object attributes array have been written to save the values from struts-config? I'm thinking this may be caused by the php "by reference" anomilies. I'm looking for a work around. Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-06-09 12:36:35
|
but sometimes one just needs to think outloud. I'm trying to imagine a way using studs to determine first use of my application. I'll have a config table in my database but if the DB nor the config table exists I want to prompt the user such that I can offer the application create the DB as well as the config table. My DB abstraction includes the table schema within the object and I will not be offering a sql script file to create the table the table object itself will do that. Any ideas? Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-05-19 15:54:09
|
Dan,
I'm contemplating the following change. I've created a private helper
function _renderAttribute($attr, $label = null) that is used to return
the string for the attribute for use in renderStyleAttributes(),
renderMetaAttributes() and renderEventAttributes(). Its purpose is to
avoid the if constructs by placing the filters inside the helper
function. I'm interested in your comments before I submit the patch.
If the extended class does not support the additional attributes I've
added the rendering doesn't happen; i.e. a null string is returned from
_renderAttribute.
<diff file="studs/tablib/html/BaseInteractiveTag.php>
Index: BaseInteractiveTag.php
===================================================================
--- BaseInteractiveTag.php (revision 1)
+++ BaseInteractiveTag.php (working copy)
@@ -98,22 +98,10 @@
function renderStyleAttributes()
{
$styles = '';
+ $styles .= $this->_renderAttribute('style');
+ $styles .= $this->_renderAttribute('styleClass', 'class');
+ $styles .= $this->_renderAttribute('styleId', 'id');
- if (!is_null($this->style))
- {
- $styles .= ' style="' . $this->style . '"';
- }
-
- if (!is_null($this->styleClass))
- {
- $styles .= ' class="' . $this->styleClass . '"';
- }
-
- if (!is_null($this->styleId))
- {
- $styles .= ' id="' . $this->styleId . '"';
- }
-
return $styles;
}
@@ -121,15 +109,13 @@
{
$meta = '';
- if (!is_null($this->title))
- {
- $meta .= ' title="' . $this->title . '"';
- }
+ $meta .= $this->_renderAttribute('title');
+ $meta .= $this->_renderAttribute('target');
// NOTE: perhaps image tag should have an HtmlBaseImageTag parent?
- if (!is_null($this->alt) && (is_a($this, 'HtmlImageTag') ||
is_a($this, 'HtmlImgTag')))
+ if (is_a($this, 'HtmlImageTag') || is_a($this, 'HtmlImgTag'))
{
- $meta .= ' alt="' . $this->alt . '"';
+ $meta .= $this->_renderAttribute('alt');
}
return $meta;
@@ -138,18 +124,37 @@
function renderEventAttributes()
{
$events = '';
+ $events .= $this->_renderAttribute('onclick');
+ $events .= $this->_renderAttribute('onchange');
+ $events .= $this->_renderAttribute('onblur');
+ $events .= $this->_renderAttribute('ondblclick');
+ $events .= $this->_renderAttribute('onfocus');
+ $events .= $this->_renderAttribute('onkeydown');
+ $events .= $this->_renderAttribute('onkeypress');
+ $events .= $this->_renderAttribute('onkeyup');
+ $events .= $this->_renderAttribute('onmousedown');
+ $events .= $this->_renderAttribute('onmousemove');
+ $events .= $this->_renderAttribute('onmouseover');
+ $events .= $this->_renderAttribute('onmouseup');
- if (!is_null($this->onclick))
- {
- $events .= ' onclick="' . $this->onclick . '"';
- }
+ return $events;
+ }
- if (!is_null($this->onchange))
+ function _renderAttribute($attr, $label = null)
+ {
+ $ret = null;
+ if (isset($this->$attr))
{
- $events .= ' onchange="' . $this->onchange . '"';
+ if (!is_null($this->$attr))
+ {
+ if (is_null($label))
+ {
+ $label = $attr;
+ }
+ $ret = ' ' . $label .'="'. $this->$attr . '"';
+ }
}
-
- return $events;
+ return "$ret";
}
}
?>
</diff>
Earnie Boyd
http://shop.siebunlimited.com
|
|
From: Earnie B. <ea...@us...> - 2006-05-19 14:23:10
|
Reviewing the Struts Framework documentation I see that ``target'' is a
valid attribute of html:link but it doesn't appear to be fully
implemented in
studs.taglib.html.BaseInteractiveTag.renderMetaAttributes. I do find
the variable ``target'' is defined in the studs.taglib.html.HtmlLinkTag
extended class.
I'm thinking that the correct change to implement the target attribute
is the following change. I'm looking for opinions on this change.
<diff file="studs/taglib/html/BaseInteractiveTag.php">
@@ -126,6 +126,11 @@
$meta .= ' title="' . $this->title . '"';
}
+ if (isset($this->target) && !is_null($this->target))
+ {
+ $meta .= ' target="' . $this->target . '"';
+ }
+
// NOTE: perhaps image tag should have an
HtmlBaseImageTag parent?
if (!is_null($this->alt) && (is_a($this,
'HtmlImageTag') || is_a($this, 'HtmlImgTag')))
{
</diff>
Earnie Boyd
http://shop.siebunlimited.com
|
|
From: Earnie B. <ea...@us...> - 2006-05-16 19:34:16
|
Quoting Earnie Boyd <ea...@us...>: > Quoting Earnie Boyd <ea...@us...>: > >> Dan, >> >> 1) With php-4.4 I'm finding that ``$bar =& foo()'' is returning the >> "Only variables may be assigned by reference" exception when foo() >> is return by reference; i.e. ``function &foo()''. 2) I also find >> that within the function declared as return by reference that you >> cannot return the results of any function, you must first set a >> variable reference and then return the variable. >> >> As you can imagine this causes issues for studs as it is written. >> I'm beginning to think I need to give up on PHP and look at Ruby on >> Rails or Python. I'm pushing forward with trying to get the basic >> example up but this isn't looking very promising. >> >> For 1) I have begun using $bar =& ref(foo()); >> For 2) I use $return =& baz(); return $return; >> > > Hooray!! Persistence toward this line of revision has brought the > basic example to view. One issue on the page is the "This page has > been viewed X times"; the numeric value replacing X isn't displaying. > I'm preparing a patch of the changes thus far. There are many more > changes that will be needed. > Patch 1489780. I had previously submited 1487926 and 1487666; if these have not been committed to the source repository then 1489780 diff contains these as well. Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-05-16 14:33:15
|
Quoting Earnie Boyd <ea...@us...>: > Dan, > > 1) With php-4.4 I'm finding that ``$bar =& foo()'' is returning the > "Only variables may be assigned by reference" exception when foo() is > return by reference; i.e. ``function &foo()''. 2) I also find that > within the function declared as return by reference that you cannot > return the results of any function, you must first set a variable > reference and then return the variable. > > As you can imagine this causes issues for studs as it is written. > I'm beginning to think I need to give up on PHP and look at Ruby on > Rails or Python. I'm pushing forward with trying to get the basic > example up but this isn't looking very promising. > > For 1) I have begun using $bar =& ref(foo()); > For 2) I use $return =& baz(); return $return; > Hooray!! Persistence toward this line of revision has brought the basic example to view. One issue on the page is the "This page has been viewed X times"; the numeric value replacing X isn't displaying. I'm preparing a patch of the changes thus far. There are many more changes that will be needed. Earnie http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-05-16 13:48:25
|
Dan, 1) With php-4.4 I'm finding that ``$bar =& foo()'' is returning the "Only variables may be assigned by reference" exception when foo() is return by reference; i.e. ``function &foo()''. 2) I also find that within the function declared as return by reference that you cannot return the results of any function, you must first set a variable reference and then return the variable. As you can imagine this causes issues for studs as it is written. I'm beginning to think I need to give up on PHP and look at Ruby on Rails or Python. I'm pushing forward with trying to get the basic example up but this isn't looking very promising. For 1) I have begun using $bar =& ref(foo()); For 2) I use $return =& baz(); return $return; Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-05-15 14:02:23
|
Quoting Dan Allen <dan...@gm...>: > Please see my notes in the other message entitled "This is > frustrating". In short, this problem has been fixed in SVN. Please > use the lastest version from there. > > Studs now officially works under PHP 5.1! > With the attached set of ridiculous changes I finally get output to the WEB-INF/work directory. But there is still work left to do as I still don't get the expected output. <screen_output> HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception horizon.net.MalformedURLException: Cannot locate page context. at studs.taglib.html.HtmlRewriteTag.dostarttag(HtmlRewriteTag.php:46) at .html_rewrite_0(index.php:30) at .c_redirect_0(index.php:14) at [PHP].include(index.php:1) at phase.servlet.PhaseServletWrapper.service(PhaseServletWrapper.php:80) at phase.servlet.PhaseServlet.servicephasefile(PhaseServlet.php:111) at phase.servlet.PhaseServlet.service(PhaseServlet.php:75) at stratus.core.StandardContext.invoke(StandardContext.php:648) at stratus.connector.HttpProcessor.run(HttpProcessor.php:91) at [PHP].main(index.php:19) Apache/2.0.51 (Fedora) PHP/4.4.2 </screen_output> Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-05-15 13:29:30
|
Quoting Dan Allen <dan...@gm...>:
>
> // ALLOWED
> function &foobar() {
> return ref(null);
> }
>
I'm finding this doesn't work well either.
// INSTEAD
function &foobar () {
$ret =& ref(null);
return $ret;
}
This must be done for any returned data.
// E.G.
function &getAttribute($name)
{
if (!isset($this->attributes[$name]))
{
$return =& ref(null);
}
else
{
$return =& ref($this->attributes[$name]);
}
return $return;
}
Earnie Boyd
http://shop.siebunlimited.com
|
|
From: Earnie B. <ea...@us...> - 2006-05-15 11:29:13
|
Quoting Dan Allen <dan...@gm...>: > Please see my notes in the other message entitled "This is > frustrating". In short, this problem has been fixed in SVN. Please > use the lastest version from there. > > Studs now officially works under PHP 5.1! > But it didn't fix my issue. :( http://osetailer.progw.org http://osetailer.progw.org/pinfo.php Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-05-15 11:11:47
|
Quoting Dan Allen <dan...@gm...>:
>
> // NOT ALLOWED (IN A NESTED CONTEXT)
> function &foobar() {
> return null;
> }
>
> // ALLOWED
> function &foobar() {
> return ref(null);
> }
>
> There were also some other outstanding bugs that were fixed.
>
I'll be trying it soon but I wanted to share that you can use your
ref() function in the call to serialize that requires
allow_call_time_pass_reference to be set on so that you can set it off.
I'll create a patch for it and submit.
It is obvious from the read on Call by Reference/Return by Reference at
php.net that something/someone is confused on what/how to implement
this correctly.
Earnie Boyd
http://shop.siebunlimited.com
|
|
From: Dan A. <dan...@gm...> - 2006-05-15 04:55:28
|
UGxlYXNlIHNlZSBteSBub3RlcyBpbiB0aGUgb3RoZXIgbWVzc2FnZSBlbnRpdGxlZCAiVGhpcyBp cwp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jdDogVGhpcyBpcyBmcnVz dHJhdGluZyEKPiA+IEJ5IG1ha2luZyB0aGVzZSBjaGFuZ2VzCj4gPgo+ID4gPGRpZmYgcGF0aD0i c3JjL2hvcml6b24veG1sL2RpZ2VzdGVyIj4KPiA+IEluZGV4OiBPYmplY3RDcmVhdGVSdWxlLnBo cAo+ID4gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PQo+ID4gLS0tIE9iamVjdENyZWF0ZVJ1bGUucGhwICAgICAgICAocmV2 aXNpb24gMzQ0KQo+ID4gKysrIE9iamVjdENyZWF0ZVJ1bGUucGhwICAgICAgICAod29ya2luZyBj b3B5KQo+ID4gQEAgLTU3LDggKzU3LDExIEBACj4gPiAgICAgICAgICAgICAgICAgfQo+ID4KPiA+ ICAgICAgICAgICAgICAgICAkY2xhenogPSYgQ2xheno6OmZvck5hbWUoJHJlYWxDbGFzc05hbWUp Owo+ID4gLSAgICAgICAgICAgICAgICRpbnN0YW5jZSA9JiAkY2xhenotPm5ld0luc3RhbmNlKCk7 Cj4gPiAtICAgICAgICAgICAgICAgJHRoaXMtPmRpZ2VzdGVyLT5wdXNoKCRpbnN0YW5jZSk7Cj4g PiArICAgICAgICAgICAgICAgaWYgKCFpc19udWxsKCRjbGF6eikpCj4gPiArICAgICAgICAgICAg ICAgewo+ID4gKyAgICAgICAgICAgICAgICAgJGluc3RhbmNlID0mICRjbGF6ei0+bmV3SW5zdGFu Y2UoKTsKPiA+ICsgICAgICAgICAgICAgICAgICR0aGlzLT5kaWdlc3Rlci0+cHVzaCgkaW5zdGFu Y2UpOwo+ID4gKyAgICAgICAgICAgICAgIH0KPiA+ICAgICAgICAgfQo+ID4KPiA+ICAgICAgICAg ZnVuY3Rpb24gZW5kKCRuYW1lc3BhY2UsICRuYW1lKQo+ID4gSW5kZXg6IFNldE5leHRSdWxlLnBo cAo+ID4gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT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bmNlKCk7 Cj4gLSAgICAgICAgICAgICAgICR0aGlzLT5kaWdlc3Rlci0+cHVzaCgkaW5zdGFuY2UpOwo+ICsg ICAgICAgICAgICAgICBpZiAoIWlzX251bGwoJGNsYXp6KSkKPiArICAgICAgICAgICAgICAgewo+ ICsgICAgICAgICAgICAgICAgICRpbnN0YW5jZSA9JiAkY2xhenotPm5ld0luc3RhbmNlKCk7Cj4g KyAgICAgICAgICAgICAgICAgJHRoaXMtPmRpZ2VzdGVyLT5wdXNoKCRpbnN0YW5jZSk7Cj4gKyAg ICAgICAgICAgICAgIH0KPiAgICAgICAgIH0KPgo+ICAgICAgICAgZnVuY3Rpb24gZW5kKCRuYW1l c3BhY2UsICRuYW1lKQo+IEluZGV4OiBTZXROZXh0UnVsZS5waHAKPiA9PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Cj4gLS0t IFNldE5leHRSdWxlLnBocCAgICAgKHJldmlzaW9uIDM0NCkKPiArKysgU2V0TmV4dFJ1bGUucGhw ICAgICAod29ya2luZyBjb3B5KQo+IEBAIC02MCw3ICs2MCwxMCBAQAo+Cj4gICAgICAgICAgICAg ICAgIC8vIEB0b2RvIHVzZSBNZXRob2RVdGlscyBoZXJlCj4gICAgICAgICAgICAgICAgICRtZXRo b2ROYW1lID0gJHRoaXMtPm1ldGhvZE5hbWU7Cj4gLSAgICAgICAgICAgICAgICRwYXJlbnQtPiRt ZXRob2ROYW1lKCRjaGlsZCk7Cj4gKyAgICAgICAgICAgICAgIGlmICghaXNfbnVsbCgkcGFyZW50 KSkKPiArICAgICAgICAgICAgICAgewo+ICsgICAgICAgICAgICAgICAgICRwYXJlbnQtPiRtZXRo b2ROYW1lKCRjaGlsZCk7Cj4gKyAgICAgICAgICAgICAgIH0KPiAgICAgICAgIH0KPiB9Cj4gPz4K Pgo+IDwvZGlmZj4KPgo+Cj4gSSBub3cgZ2V0IHNvbWV0aGluZyB0aGF0IG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mb3Ig bW9yZSB0aGFuIGEgd2VlaywKaXQgaXMgdmVyeSBsaWtlbHkgdGhhdCBJIGFtIGV4Y2Vzc2l2ZWx5 IGJhY2tsb2dnZWQgb3IgdGhlIG1lc3NhZ2Ugd2FzCmNhdWdodCBpbiB0aGUgZmlsdGVycy4gIFBs ZWFzZSBkb24ndCBoZXNpdGF0ZSB0byByZXNlbmQgYSBtZXNzYWdlIGlmCnlvdSBmZWVsIHRoYXQg aXQgZGlkIG5vdCByZWFjaCBteSBhdHRlbnRpb24uCg== |
|
From: Earnie B. <ea...@us...> - 2006-05-14 20:16:18
|
The more I look into this, the more I think we're screwed. I haven't tried php5 yet and I haven't tried upgrading php on my winders yet to 4.4.2 but we have issues with the references on my fedora box. I've spent too many hours trying to wrestle with this. I'm getting ready to look elsewhere; otherwise this was an awesome piece of work. Dan, if you want to beat this horse and need a server to test with let me know. I might be able to spare a cycle and let you scp the changes for testing. Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-05-14 19:59:58
|
http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-05-14 14:58:09
|
Quoting Earnie Boyd <ea...@us...>: > > <screen_snip> > HTTP Status 500 - Internal Server Error > > type Exception report > > message Internal Server Error > > description The server encountered an internal error (Internal Server > Error) that prevented it from fulfilling this request. > > exception > > horizon.lang.RootException: Only variables should be assigned by reference > at horizon.util.logging.LogManager.getlogger(LogManager.php:60) > at horizon.util.logging.Logger.getlogger(Logger.php:149) > at horizon.xml.digester.Digester.getlog(Digester.php:160) > at horizon.xml.digester.Digester.parse(Digester.php:565) > at stratus.config.ContextConfig.applicationconfig(ContextConfig.php:143) > at stratus.config.ContextConfig.start(ContextConfig.php:108) > at stratus.config.ContextConfig.contextconfig(ContextConfig.php:93) > at [PHP].main(index.php:16) > > Apache/2.0.51 (Fedora) PHP/4.4.1 > </screen_snip> > I'm beginning to think I have a buggy PHP 4.4.1. As I said, this is frustrating me to no end; especially since it works in winders with php version 4.3.10. So I went removing the reference declaration ``&'' from the complaining lines one by one as listed in the exception. The result was that there were new lines and modules in the complaints. I'm going to be building another php version shortly but I don't know if this is the real issue or not. I do have an optimizer executing; cound that be the issue? Earnie Boyd http://shop.siebunlimited.com |
|
From: Earnie B. <ea...@us...> - 2006-05-14 13:47:20
|
By making these changes
<diff path="src/horizon/xml/digester">
Index: ObjectCreateRule.php
===================================================================
--- ObjectCreateRule.php (revision 344)
+++ ObjectCreateRule.php (working copy)
@@ -57,8 +57,11 @@
}
$clazz =& Clazz::forName($realClassName);
- $instance =& $clazz->newInstance();
- $this->digester->push($instance);
+ if (!is_null($clazz))
+ {
+ $instance =& $clazz->newInstance();
+ $this->digester->push($instance);
+ }
}
function end($namespace, $name)
Index: SetNextRule.php
===================================================================
--- SetNextRule.php (revision 344)
+++ SetNextRule.php (working copy)
@@ -60,7 +60,10 @@
// @todo use MethodUtils here
$methodName = $this->methodName;
- $parent->$methodName($child);
+ if (!is_null($parent))
+ {
+ $parent->$methodName($child);
+ }
}
}
?>
</diff>
I now get something that is a little prettier; but I still don't know
what is causing the issue. WEB-INF/work is still empty even though I
have it set to 777.
<screen_snip>
HTTP Status 500 - Internal Server Error
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server
Error) that prevented it from fulfilling this request.
exception
horizon.lang.RootException: Only variables should be assigned by reference
at horizon.util.logging.LogManager.getlogger(LogManager.php:60)
at horizon.util.logging.Logger.getlogger(Logger.php:149)
at horizon.xml.digester.Digester.getlog(Digester.php:160)
at horizon.xml.digester.Digester.parse(Digester.php:565)
at stratus.config.ContextConfig.applicationconfig(ContextConfig.php:143)
at stratus.config.ContextConfig.start(ContextConfig.php:108)
at stratus.config.ContextConfig.contextconfig(ContextConfig.php:93)
at [PHP].main(index.php:16)
Apache/2.0.51 (Fedora) PHP/4.4.1
</screen_snip>
Earnie Boyd
P.S.: Are the above changes worth submitting to the patch tracker.
Although a bit hackish the changes cause a decent error page to present
itself.
http://shop.siebunlimited.com
|
|
From: Earnie B. <ea...@us...> - 2006-05-11 15:13:36
|
Quoting fred <fr...@gm...>: > hello everyone :) > > how to unsubscribe this list ? > List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/studs-user>, <mailto:stu...@li...?subject=unsubscribe> HTH Earnie Boyd http://shop.siebunlimited.com |
|
From: fred <fr...@gm...> - 2006-05-11 14:22:10
|
hello everyone :) how to unsubscribe this list ? thanks |
|
From: Earnie B. <ea...@us...> - 2006-05-11 12:10:44
|
Quoting Dan Allen <dan...@gm...>: > I am pretty busy this morning, but I will try to look into > thatsometime this afternoon, if I manage to get all my stuff done. > /dan Thanks. I added a var_dump of $_EXCEPTION in bubble_exception. Take a look at http://osetailer.progw.org for the contents of the objects it contains. Earnie > On 5/9/06, Earnie Boyd <ea...@us...> wrote:> Help,>> > May 9 18:51:46 progw httpd: Exception detected:> > horizon.lang.RootException: Only variable references should be > returned> by reference<br />^Iat > horizon.lang.Clazz.newinstance(Clazz.php:241)<br> />^Iat > horizon.lang.Clazz.forname(Clazz.php:109)<br />^Iat> > horizon.util.logging.LogManager.readconfiguration(LogManager.php:105)<br>= > />^Iat> > horizon.util.logging.LogManager.getlogmanager(LogManager.php:177)<br> > />^Iat horizon.util.logging.Logger.getlogger(Logger.php:148)<br > />^Iat> horizon.xml.digester.Digester.getlog(Digester.php:160)<br > />^Iat>> This is from the examples/basic application.>> Server > information:> http://osetailer.progw.org/pinfo.php/foobar?foo=3Dbar>>> > Earnie Boyd>> http://shop.siebunlimited.com>>>> > -------------------------------------------------------> Using Tomcat > but need to do more? Need to support web services, security?> Get > stuff done quickly with pre-integrated technology to make your job > easier> Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642> > _______________________________________________> studs-user mailing > list> stu...@li...> > https://lists.sourceforge.net/lists/listinfo/studs-user> > > -- Daniel AllenRegistered Linux User #231597 > Mojavelinux.com: Open Source Advocacyhttp://www.mojavelinux.com > While I make a strong effort to keep up with my email on a daily > basis,life and work come first and, at times, keep me away from my > mail for awhile. If you contact me and then don't hear back for more > than a week,it is very likely that I am excessively backlogged or the > message wascaught in the filters. Please don't hesitate to resend a > message ifyou feel that it did not reach my > attention.=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD= =EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF= =BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD= =EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BD=D4=B2)=EF=BF=BDN=EF=BF=BD=EF=BF=BDj=EF=BF=BD=EF=BF=BDw=EF=BF=BDv=EF= =BF=BD=1D=EF=BF=BDj+{=EF=BF=BD^y=EF=BF=BDh=EF=BF=BD=EF=BF=BDi=EF=BF=BD=EF= =BF=BDpy=EF=BF=BD=1E=EF=BF=BD=EF=BF=BDz=EF=BF=BD=EF=BF=BDy=CB=AB=EF=BF=BD= =EF=BF=BD=EF=BF=BD=19=EF=BF=BDl=EF=BF=BD=EF=BF=BD=EF=BF=BDv=EF=BF=BD=DE=AA= =E8=9C=92\=EF=BF=BD=EF=BF=BD=EF=BF=BDi=EF=BF=BD=EF=BF=BD=EF=BF=BD=D7=A0=EF= =BF=BD=EF=BF=BD^v=D7=9C=EF=BF=BDz%=EF=BF=BD=0C=EF=BF=BD=EF=BF=BDf=EF=BF=BD{= *.=EF=BF=BD:=1By=EF=BF=BD"z=EF=BF=BD=EF=BF=BD=EF=BF=BDyhi=EF=BF=BD=011g=EF= =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