Feed items

  • warning: Declaration of views_handler_argument::init(&$view, &$options) should be compatible with views_handler::init(&$view, $options) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_argument.inc on line 48.
  • warning: Declaration of views_handler_filter_boolean_operator::value_validate(&$form, &$form_state) should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 111.
  • warning: Declaration of views_plugin_row_node_view::options_form(&$form, &$form_state) should be compatible with views_plugin_row::options_form($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/modules/node/views_plugin_row_node_view.inc on line 35.

Hook_order: case 'submit' - problem since Ubercart v. 2.2 with Drupal 6

Ubercart has problem working with Pay Pal WPS module.

INTRO from doc: 'submit': When a sale is being completed and the customer has clicked the Submit order button from the checkout screen, the hook is invoked with this op. This gives modules a chance to determine whether or not the order should be allowed. An example use of this is the credit module attempting to process payments when an order is submitted and returning a failure message if the payment failed.
see [url]http://api.ubercart.org/api/function/hook_order/2[/url]





Hide the tag img if empty src.

I hope this is easy. I'm trying to figure out how to add "display none" to an image if the src is empty! This is what i have so far:
[CODE]
var $j = jQuery.noConflict();
$j(document).ready(function(){
var testing = $j("img#logoTest").attr("src");
if(testing == ""){
$j("img#logoTest").css("display","none");
}
});
[/CODE]

Can you tell me what im doing wrong?
Thanks!





preg_replace

This first row is replaced but not the other..
[PHP]preg_replace("/(.*)<\/item>/", "$1", $content);[/PHP]

[HTML]content

content
[/HTML]

How do make both of them replaced





Warning when uploading image in Drupal

Hello! I use Drupal 6 + ImageCache+ Date api

When I upload image files I see warning message:

[CODE]
* warning: Parameter 2 to date_form_alter() expected to be a reference, value given in /usr/share/drupal6/includes/common.inc on line 2839.
* warning: Parameter 2 to date_timezone_form_alter() expected to be a reference, value given in /usr/share/drupal6/includes/common.inc on line 2839.[/CODE]

How it fix?

Thanks!





Problem with encoding in pop-up window

Hi!
I have site based on drupal and using utf-8 encoding.

I create pop-up window with content in utf-8 but browser open it in win-1251.
I use onclick
[CODE]window.open('/file.html','','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Width=600,Height=250');[/CODE]





PHP 5.6.16 is available

The PHP development team announces the immediate availability of PHP
5.6.16. Several bugs have been fixed.

All PHP 5.6 users are encouraged to upgrade to this version.

For source downloads of PHP 5.6.16 please visit our downloads page,
Windows binaries can be found on windows.php.net/download/.
The list of changes is recorded in the ChangeLog.





PHP 8.0.0 Released!

The PHP development team announces the immediate availability of PHP 8.0.0. This release marks the latest major release of the PHP language.

PHP 8.0 comes with numerous improvements and new features such as:





PHP 7.0.0 RC 8 Released

The PHP development team announces the immediate availability of
PHP 7.0.0 RC 8. This is the thirteenth pre-release of the new PHP 7
major series. All users of PHP are encouraged to test this version carefully,
and report any bugs and incompatibilities in the bug tracking system.

THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!

PHP 7.0.0 RC 8 contains fixes for 11 reported bugs.





PHP 7.3.25 Released!

The PHP development team announces the immediate availability of PHP 7.3.25. This is a bug fix release.

All PHP 7.3 users are encouraged to upgrade to this version.

For source downloads of PHP 7.3.25 please visit our downloads page,
Windows source and binaries can be found on windows.php.net/download/.
The list of changes is recorded in the ChangeLog.





PHP 7.4.13 Released!

The PHP development team announces the immediate availability of PHP 7.4.13. This is a bug fix release.

All PHP 7.4 users are encouraged to upgrade to this version.

For source downloads of PHP 7.4.13 please visit our downloads page,
Windows source and binaries can be found on windows.php.net/download/.
The list of changes is recorded in the ChangeLog.