Новости Joomla

👩‍💻 WT Otpravkapochtaru - библиотека сервиса Отправка Почты России для Joomla-разработчиков.

👩‍💻 WT Otpravkapochtaru - библиотека сервиса Отправка Почты России для Joomla-разработчиков.

Joomla 5+ пакет для интеграции с API Почты России: нормализация данных, расчёт доставки, создание отправлений, партии, документы, возвраты, поиск отделений, справочники и SOAP-отслеживание.

v.3.0.0. Что нового?
Это дальнейшее развитие ранее закрытой Joomla-библиотеки для работы с API сервиса Отправка (для бизнеса) Почты России. Поэтому версия не 1.0.0, а 3.0.0.

Сейчас эта библиотека ушла от собственных реализаций и стала Joomla-обёрткой известного PHP SDK от Lapay Group.

Возможности библиотеки.
- получение настроек аккаунта, точек сдачи и текущего остатка запросов к API;
- нормализация адресов, ФИО и телефонов перед созданием отправления;
- расчёт тарифа и срока доставки;
- создание, поиск, изменение, удаление и возврат заказов в состояние «Новые»;
- проверка надёжности получателя;
- создание партий, просмотр партий и заказов внутри партии;
- генерация пакета печатных документов и формы Ф103;
- создание, изменение и удаление возвратных отправлений;
- поиск отделений по индексу, адресу и координатам, получение сервисов отделения;
- локальный список стран;
- SOAP-отслеживание операций по РПО и работа с билетами пакетного трекинга.

👩‍💻 Joomla-возможности.
В пакете библиотеки WT Otpravkapochtaru есть поля Joomla Form для расширений. Они позволяют работать в интерфейсе Joomla с некоторыми типами данных, получаемых по API из вашего личного кабинета в ЛК Почты России для бизнеса.
На данный момент в библиотеке доступны 3 поля списков, которые отображают доступные в аккаунте ОПС, типы и категории отправлений.
Поддерживаются зависимые списки: значение одного поля обновляется при изменении другого.

Системные требования.
Системные требования в основном связаны с системными требованиями апстрима библиотеки - LapayGroup PHP SDK.
- Joomla 5+
- PHP 8.3+
- Расширения PHP:
-- ext-mbstring
-- ext-simplexml
-- ext-soap (опционально, для трекинга)
-- ext-zip

Ссылки:
- Страница расширения
- GitHub библиотеки и документация

@joomlafeed

0 Пользователей и 1 Гость просматривают эту тему.
  • 6 Ответов
  • 3588 Просмотров
*

Светлана

  • Захожу иногда
  • 99
  • 7 / 0
Ошибка 500 Internal Server Error
« : 14.04.2015, 00:10:51 »
Здравствуйте. При входе на сайт выскакивает такая ошибка:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, kvivalavita@gmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

Сам сайт не открывается и панель управления Joomla тоже. В файле ошибок сервера пишет:

Код
[Mon Apr 13 23:53:07 2015] [error] [client 46.200.165.11] Premature end of script headers: php
[Mon Apr 13 23:54:39 2015] [error] [client 66.249.64.137] PHP Notice:  Undefined property: stdClass::$id in /hosting/b18149988/data/www/vivalavita.com.ua/libraries/gantry/core/params/overrides/gantrymenuitemparamoverride.class.php on line 66
[Mon Apr 13 23:54:39 2015] [error] [client 66.249.64.137] PHP Notice:  Undefined property: stdClass::$id in /hosting/b18149988/data/www/vivalavita.com.ua/plugins/system/gantry/gantry.php on line 234
[Mon Apr 13 23:55:15 2015] [error] [client 207.46.13.105] File does not exist: /hosting/b18149988/data/www/vivalavita.com.ua/uxocr
[Mon Apr 13 23:59:02 2015] [error] [client 66.249.64.137] PHP Notice:  Undefined property: stdClass::$id in /hosting/b18149988/data/www/vivalavita.com.ua/libraries/gantry/core/params/overrides/gantrymenuitemparamoverride.class.php on line 66
[Mon Apr 13 23:59:03 2015] [error] [client 66.249.64.137] PHP Notice:  Undefined property: stdClass::$id in /hosting/b18149988/data/www/vivalavita.com.ua/plugins/system/gantry/gantry.php on line 234
[Tue Apr 14 00:05:28 2015] [error] [client 46.200.165.11] Premature end of script headers: php
[Tue Apr 14 00:05:34 2015] [error] [client 46.200.165.11] File does not exist: /hosting/b18149988/data/www/vivalavita.com.ua/favicon.ico
[Tue Apr 14 00:05:35 2015] [error] [client 157.55.39.253] File does not exist: /hosting/b18149988/data/www/vivalavita.com.ua/oronf
[Tue Apr 14 00:07:23 2015] [error] [client 157.55.39.223] File does not exist: /hosting/b18149988/data/www/vivalavita.com.ua/oronf

.htaccess
Код
RewriteBase /

##
# @package Joomla
# @copyright Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your SEF url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
##

## Can be commented out if causes errors, see notes above.
# Options +FollowSymLinks

## Mod_rewrite in use.

#RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##


## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.
С чем это может быть связано? Ошибка выскочила, когда я наполняла товаром интернет-магазин.
« Последнее редактирование: 14.04.2015, 00:16:21 от Светлана »
*

04r12

  • Захожу иногда
  • 168
  • 9 / 0
  • Позитив есть! Чего и вам желаю=)
Re: Ошибка 500 Internal Server Error
« Ответ #1 : 14.04.2015, 05:19:59 »
У Вас несколько файлов в принципе перестало существовать...дабы дальше в пустую не раздувать, задам вопрос - бэкап сайта есть? его поднятие решит проблему
*

Светлана

  • Захожу иногда
  • 99
  • 7 / 0
Re: Ошибка 500 Internal Server Error
« Ответ #2 : 14.04.2015, 07:00:20 »
Как это несколько файлов перестало существовать? из-за чего. Бэкап сайта есть
*

04r12

  • Захожу иногда
  • 168
  • 9 / 0
  • Позитив есть! Чего и вам желаю=)
Re: Ошибка 500 Internal Server Error
« Ответ #3 : 14.04.2015, 07:17:02 »
Цитировать
[Tue Apr 14 00:05:34 2015] [error] [client 46.200.165.11] File does not exist: /hosting/b18149988/data/www/vivalavita.com.ua/favicon.ico
[Tue Apr 14 00:05:35 2015] [error] [client 157.55.39.253] File does not exist: /hosting/b18149988/data/www/vivalavita.com.ua/oronf
[Tue Apr 14 00:07:23 2015] [error] [client 157.55.39.223] File does not exist: /hosting/b18149988/data/www/vivalavita.com.ua/oronf
Эти файлы более не существуют. Поднимайте сайт с бэкапа, должно помочь, если проблема с Вашей стороны, а не со стороны хостера.
*

Светлана

  • Захожу иногда
  • 99
  • 7 / 0
Re: Ошибка 500 Internal Server Error
« Ответ #4 : 14.04.2015, 13:13:59 »
Представляете с другого браузера заходит, а с Google chrome выдает ошибку. Это в браузере глюк произошел?
*

Sibergad

  • Новичок
  • 1
  • 0 / 0
Re: Ошибка 500 Internal Server Error
« Ответ #5 : 14.04.2015, 23:13:04 »
Аналогичная проблема Internal Server Error

.htaccess
Код
##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your SEF url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension XML files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension XML files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section

Кто сможет помочь? Ошибок в логе никаких нет.
« Последнее редактирование: 14.04.2015, 23:29:08 от Sibergad »
*

voland

  • Легенда
  • 11026
  • 588 / 112
  • Эта строка съедает место на вашем мониторе
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Ошибка загрузки скрипта

Автор shane

Ответов: 0
Просмотров: 1947
Последний ответ 17.09.2019, 01:35:43
от shane
Ошибка 500 вместо 404 на несуществующих страницах с расширением только php

Автор old_lotar

Ответов: 12
Просмотров: 3548
Последний ответ 12.02.2019, 12:58:13
от draff
При редактировании модулей Fatal error: Call to a member function getKeyName()

Автор libertine21

Ответов: 4
Просмотров: 1551
Последний ответ 23.07.2018, 12:39:50
от libertine21
Ошибка в слове на главной странице. Как исправить?

Автор nqui

Ответов: 3
Просмотров: 4087
Последний ответ 29.03.2018, 05:15:41
от TkGhoul
Ошибка &amp;amp;amp;amp;quot;error&amp;amp;amp;amp;quot;. нужен специалист! гарантирую оплату!

Автор mimoza

Ответов: 6
Просмотров: 2567
Последний ответ 25.02.2018, 14:47:40
от mimoza