soycalendar_2.2.0のエラーについて 投稿する

投稿者:茂則大崎  投稿日時:2023-01-23 09:54:03
SOYCMS3.10.10sqlite soycalendar_2.2.0の組み合わせでインストールしましたが、
データーベースの更新を促され
更新をしようとすると
エラーが発生します。
下記エラー内容となります。
何卒よろしくお願い申し上げます。



MESSAGE: Invalid query.
EXCEPTION TYPE: SOY2DAOException
LOCATION: /sys/common/lib/soy2_build.php (3261)

SOY CMS Version: 3.10.10
SOY CMS Build Date: 2023-01-21T16:05:18+09:00
SOY CMS DB Type: sqlite
SOY2RootDir: /home/****/www/****/sys/app/webapp/calendar/src/
SOY2_DOCUMENT_ROOT: undefined


STACK TRACE
-----------------------
0:SOY2DAO->executeQuery
argument[0]: String("SELECT id, title FROM soycalendar_item WHERE title_id IS NULL")

/sys/app/webapp/calendar/src/logic/upgrade/extend/extendUpdate-3.php(4)
-----------------------
1:include_once
argument[0]: String("/home/****/www/****/sys/app/webapp/calendar/src/logic/upgrade/extend/extendUpdate-3.php")

/sys/app/webapp/calendar/src/logic/upgrade/UpdateDBLogic.class.php(68)
-----------------------
2:UpdateDBLogic->executeSqlFile
argument[0]: String("update-3.sql")
argument[1]: 3

/sys/app/webapp/calendar/src/logic/upgrade/UpdateDBLogic.class.php(44)
-----------------------
3:UpdateDBLogic->update

/sys/app/webapp/calendar/pages/Update/IndexPage.class.php(12)
-----------------------
4:IndexPage->__construct
argument[0]: array (
)

/sys/common/lib/soy2_build.php(5548)

Server Environment
PHP Version: 7.4.33

PHP SAPI NAME: apache2handler
PHP SAFE MODE: No
SHORT_OPEN_TAG: Yes

MEMORY_LIMIT: 512M Bytes
Memory Usage: 2,633,104 Bytes
2,097,152 Bytes (Real)
3,965,792 Bytes (Peak)
2,097,152 Bytes (Peak, Real)

MAX_EXECUTION_TIME: 30 sec.
POST_MAX_SIZE: 200M Bytes
UPLOAD_MAX_FILESIZE: 200M Bytes

mb_string: Yes
PDO: Yes
PDO_SQLite: Yes
PDO_MySQL: Yes
Standard PHP Library: Yes
SimpleXML: Yes
JSON: Yes
Services_JSON: No
ZIP: Yes
ZipArchive: Yes
Archive_Zip: No
OpenSSL: Yes
HASH: Yes
GD: Yes

Module/CGI Module
Rewrite OK

USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.55
REQUEST_URI: /sys/app/index.php/calendar/Update
SCRIPT_NAME: /sys/app/index.php
PATH_INFO: /calendar/Update
QUERY_STRING:

DOCUMENT_ROOT: /home/****/www/****
SCRIPT_FILENAME: /home/****/www/****/sys/app/index.php

SOY CMS Options
SOYCMS_ALLOWED_EXTENSIONS: undefined
SOYCMS_ALLOW_PHP_SCRIPT: 1
SOYCMS_SKIP_MOBILE_RESIZE: 1
SOYCMS_BLOCK_LIST: EntryBlockComponent
LabeledBlockComponent
MultiLabelBlockComponent
SiteLabeledBlockComponent
PluginBlockComponent
SOYCMS_TARGET_DIRECTORY: /home/****/www/****/
SOYCMS_TARGET_URL: undefined
SOYCMS_ADMIN_ROOT: undefined
SOYCMS_LANGUAGE: ja
投稿者:齋藤毅  投稿日時:2023-01-23 10:12:33
エラー報告をありがとうございます。
SQLite版の初期化で不具合がありました。
修正版をダウンロードできるようにしましたので、下記のページからダウンロードしてください。
https://saitodev.co/soycms/soycalendar/

SOYCMS3.10.10sqlite soycalendar_2.2.0の組み合わせでインストールしました
上記文面から今回SOY Calendarをはじめて使用するかと思います。
はじめての使用であれば、
/ルートドメイン/CMSインストールディレクトリ/common/db/calendar.db
を削除してから、改めてSOY Calendarの管理画面を開いてみてください。
投稿者:茂則大崎  投稿日時:2023-01-23 10:21:00
ありがとうございます。
解決致しました。
お手数おかけいたしました。
投稿者:茂則大崎  投稿日時:2023-01-23 10:39:49
ちなみになのですが、
カレンダーを複数個設置する方法等ございましたでしょうか。
何卒よろしくお願い申し上げます。
投稿者:齋藤毅  投稿日時:2023-01-23 10:47:28
複数個というのは、別の目的(例えば一つは営業日カレンダーでもう一つは特売日カレンダー)といったカレンダーを設置できるか?ということでしょうか。
であれば設置は不可です。

SOY Shop版に予約カレンダーというものがありまして、少し改修すれば上記の要望は実現できるかもしれません。
https://saitodev.co/article/4137
投稿者:茂則大崎  投稿日時:2023-01-23 10:50:10
承知しました。
ご回答ありがとうございました。
ログインして投稿する