jasonrogena / jasonrogena/php-excel-reader
error in line 916
Open
Nobody has claimed this yet.
auto-migrated
Priority-Medium
Type-Defect
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Am trying to upload an excel file to the MySql but while running the code am
getting the following error:
PHP Deprecated: Assigning the return value of new by reference is deprecated
in C:\Inetpub\vhosts\test.multicon.in\httpdocs\excel_reader2.php on line 916
In line 916 of excel_reader2.php the code is:
$this->colnames[$name] = $i;
Can anyone help me with this???
Regards,
Original issue reported on code.google.com by sinharay...@gmail.com on 25 Aug 2014 at 9:56
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in excel_reader2.php around line 916 and compare the reported deprecated by-reference assignment with the shown $this->colnames[$name] = $i; statement. Trace the surrounding Excel upload path and verify that the deprecated warning is resolved while the upload to MySQL still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, php
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100