Notice
Dear readers,
It is time for me to continue this blog on my own domain name.
Thank you for visiting my blog.
Please expect future posts on
http://slavi.biz/blog
Web Development, Problems and Solutions, Marketing, Business. Overall this blog is dedicated to daily challenges that developers meet during their day.
Dear readers,
It is time for me to continue this blog on my own domain name.
Thank you for visiting my blog.
Please expect future posts on
http://slavi.biz/blog
I usually install php manually because that gives you more control over
the installation process that way when something goes wrong you know where to start looking.
Yesterday, as a programmer, I was being a little bit lazy (http://www.hhhh.org/wiml/virtues.html) and decided to use the php 5.2.6 automated installer.
After enabling many extensions that I really didn't need at that time but it was not nice to have them enabled
I received many errors when executed php scripts such as :
This application has failed to start because lcrzo.dll was not found.Solution:
Re-installing the application may fix this problem.
PHP Warning: PHP Startup: Unable to load dynamic library
lcrzo.dll was not found.
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php5\ext\php_oci8.
dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php5\ext\php_pgsql
.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php5\ext\php_netoo
ls.dll' - The specified module could not be found.
in Unknown on line 0
PHP Notice: Constant XML_ELEMENT_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_TEXT_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_CDATA_SECTION_NODE already defined in Unknown on line
0
PHP Notice: Constant XML_ENTITY_REF_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ENTITY_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_PI_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_COMMENT_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_DOCUMENT_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_DOCUMENT_TYPE_NODE already defined in Unknown on line
0
PHP Notice: Constant XML_DOCUMENT_FRAG_NODE already defined in Unknown on line
0
PHP Notice: Constant XML_NOTATION_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_HTML_DOCUMENT_NODE already defined in Unknown on line
0
PHP Notice: Constant XML_DTD_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ELEMENT_DECL_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_DECL_NODE already defined in Unknown on line
0
PHP Notice: Constant XML_ENTITY_DECL_NODE already defined in Unknown on line 0
PHP Notice: Constant XML_NAMESPACE_DECL_NODE already defined in Unknown on line
0
PHP Notice: Constant XML_LOCAL_NAMESPACE already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_CDATA already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_ID already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_IDREF already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_IDREFS already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_ENTITY already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_NMTOKEN already defined in Unknown on line 0
PHP Notice: Constant XML_ATTRIBUTE_NMTOKENS already defined in Unknown on line
0
PHP Notice: Constant XML_ATTRIBUTE_ENUMERATION already defined in Unknown on li
ne 0
PHP Notice: Constant XML_ATTRIBUTE_NOTATION already defined in Unknown on line
0
Posted by
Svetoslav Marinov
at
Saturday, October 25, 2008
0
comments
Labels: lcrzo.dll, php extensions, PHP Warning: PHP Startup: Unable to load dynamic library
Challenge:
For some reason (maybe because I installed too many addons :] ) my Zend Studio Mozilla addon stopped working. I could not debug anymore.
Solution:
Start Firefox in Safe mode and reset toolbar settings.
Execute
Under Mac
/Applications/Firefox.app/Contents/MacOS/firefox -safe-mode
or
/Users/user/Desktop/Firefox\ 3.app/Contents/MacOS/firefox -safe-mode
Under Windows
Windows key + R
C:\Program Files\Mozilla Firefox\firefox.exe -safe-mode
then
Select Reset toolbar and controls
Click on Make Changes and Restart
I hope it will work for you too.
Slavi
Posted by
Svetoslav Marinov
at
Monday, October 20, 2008
6
comments
Labels: DebugNextPageMI, FireFox, Mozilla, Reset toolbar
Prototype Form.serialize does not work in IE7
Sometimes using jQuery and Scriptaculous + Prototype may cause some issues.
Here is my situation:
<form ... onsubmit="saveData(this); return false;">
.....
</form>
function saveData(user_form) {
......
}
Instead of using user_form.serialize(true); try using
$(user_form).serialize(true);
Note:
if you use both jQuery and Scriptaculous + Prototype make sure you have
j = jQuery.noConflict();
I assume that $ is an alias to Scriptaculous/Prototype
I hope it'll work for you too.
Slavi
Posted by
Svetoslav Marinov
at
Monday, October 20, 2008
4
comments
Labels: jQuery, Prototype, Scriptaculous, Web
(c) Svetoslav Marinov and 2006-. All Rights Reserved.