This topic is locked
[SOLVED]

I am getting the following error while importing data in PHPrunner 10.6 build 37620.

8/17/2021 11:13:55 PM
PHPRunner General questions
M
muammer author

I am getting the following error while importing data in PHPrunner 10.6 build 37620.

" Fatal error: require_once(): Failed opening required '/home/kenarhuk/public_html/portaltest/include./phpspreadsheet_int.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/kenarhuk/public_html/portaltest/include/import_functions.php on line 6"

img alt

HJB 8/18/2021

img alt

M
muammer author 8/18/2021

Dear hjb, thank you for your interest and reply.
I tried the checked and unchecked operations in the places you marked and rebuilding, still got the same errors.
Thinking that old files remained in the host directory, I deleted the file directories on the host, rebuilt and uploaded the files to the host again. I still got the same error.

have you tried it? is it giving you an error?

HJB 8/18/2021

Sorry to inform, I could NOT test v10.6 - build 37620 - at all as other
problems occured on a new simple test project as per screenshot below.

img alt

M
muammer author 8/18/2021

Probably bugs will be fixed in a new build update, let's wait for the update and clarifications.

Admin 8/18/2021

This latest error is related to PHP 8 and will be fixed tomorrow.

M
muammer author 8/19/2021

thank you very much. we love phprunner.

HJB 8/19/2021

PHP Support (Time Table)

@admin - Many thanx.

img alt

HJB 8/20/2021

@admin - Many thanx for v10.6 build 37666. My problems under Xampp v8.09 (=PHP 8.09)
are solved and in regard to IMPORT of both CSV and EXCEL (.xlsx v2007) all works fine now.
Spreadsheet mode works fine too..., Session Control works, yet the warning window does not
appear being a totally minor problem at this stage for at least me.

Update: Session Time-Out popup window with seconds (count-down) now appearing plus
some other error messages experienced earlier disappeared too, most probably to works done
at your end in the meantime to bugfix some JS code provided by some nodes.

M
muammer author 8/20/2021

I have installed phprunner 10.6 build 37666.
1- I'm still getting the same error "" Fatal error: require_once(): Failed opening required '/home/edge/public_html/portaltest/include./phpspreadsheet_int.php' (include_path='.:/opt/alt/php72/usr /share/pear') in /home/edge/public_html/portaltest/include/import_functions.php on line 6""
2- When I build the project, I get the error "code 0-ok" more often.

HJB 8/21/2021

Screenshot below shows yellow marked LINE 6 inside "import_functions.php".

In simple terms, the error messsage means: PHPRunner could NOT find the
file "phpspreadsheet_int.php" under the path ".:/opt/alt/php72/usr /share/pear".

Workaround: Copy the "phpspreadsheet_int.php" file to the subdirectory above,
namely ".:/opt/alt/php72/usr /share/pear".

In other words, you opened a PHPRunner v10.5 project file under PHPRunner v10.6,
expecting that a 100% compatibility is at hand which is not. As you are testing under
another than v10.5 application oriented web server space by using v10.6, the v10.5
project file tells the v10.6 to look at the v10.5 project path for "phpspreadsheet_int.php"
file, but the file is obviously NOT there in the path " ".:/opt/alt/php72/usr /share/pear",
hence the error message. So, only manual copying of the missing file to the said path
can help you out to run the testing of importing Excel files. If foudn to work fine and once
you think, you want to go live under v10.6 project file ny using the "formerly v10.5 path"
to upload the generated files, the workaround is no longer needed then.

img alt