avatar jschmi102
jschmi102
30 Aug 2021

install plugin which creates sql-table

Expected result

Install should works succesfully as it installs successfully with joomla 3.10.1

Actual result

get istaller error

Warning
JInstaller: :Install: SQL File not found C:\myjoomla4\plugins/system/jphp/sql/jphp.install.sql
Extension installation aborted

System information (as much as possible)

defined sql-install:

        <install>
		<sql>
			<file driver="mysqli" charset="utf8">sql/jphp.install.sql</file>
		</sql>
	</install> 

Additional comments

Install process finishes succsessfull if "driver" is ommitted - but then sql-tabel is not installed.

avatar jschmi102 jschmi102 - open - 30 Aug 2021
avatar jschmi102
jschmi102 - comment - 30 Aug 2021

hi,
found the problem joomla4 neesds a "<folder>sql</folder>" otherwise it fails to find the sql install files

avatar chmst chmst - change - 30 Aug 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-08-30 13:45:39
Closed_By chmst
avatar chmst chmst - close - 30 Aug 2021
avatar chmst
chmst - comment - 30 Aug 2021

Thanks for reporting the solution. So I close the issue for now.

Add a Comment

Login with GitHub to post a comment