PHP Classes
elePHPant
Icontem

Have Error when run project

Recommend this page to a friend!

      PHP Convert Excel to JSON  >  All threads  >  Have Error when run project  >  (Un) Subscribe thread alerts  
Subject:Have Error when run project
Summary:ERROR: file is not configured or not found for: test.xlsx
Messages:2
Author:Born Pagna
Date:2017-08-04 06:19:23
 

  1. Have Error when run project   Reply   Report abuse  
Born Pagna - 2017-08-04 06:19:23
I do not why like this Please have me.
Error: ERROR: file is not configured or not found for: test.xlsx

  2. Re: Have Error when run project   Reply   Report abuse  
Karl Holz - 2017-08-08 12:51:23 - In reply to message 1 from Born Pagna
the text.xlsx is on my GitHub repo for this project.

if you look at my index.php, you will see the following

<?php
$excel=basename($conf, '.ini') . ".xlsx";
$e=new excel2JSON();
if (! $e->set_excel($excel, 'false'))
$error[]='<div class="alert alert-danger">ERROR: file is not configured or not found for: '.$excel.'</div>';

?>


make $excel match your file, I had a configuration file for displaying select Excel cells called test.ini.

Try downloading a zip from my GitHub repo for this project, if you still get errors please let me know; I am slowly working on updating this project when I get free time.