Xampp 1.8.1-VC9 pear not working on Windows 7 (64-bit)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Xampp 1.8.1-VC9 pear not working on Windows 7 (64-bit)

Postby b_woodward2000 » 06. June 2013 13:58

Hi just started using XAMPP on Windows for creating Excel spreadsheets from JSON data.
Using: Xampp 1.8.1-VC9
My PC is a Windows 7 (64-bit), running Office 2013
Anyway, the XAMPP core files wouldn't work correctly until I changed the following two files. I hope theses changes can be added to the next release?

Message stated that memory was not referenced correctly...
root\xampp\php\pear\Spreadsheet\Excel\Writer\Worksheet.php - line 2490.
// this code:
// $this->_append(&$string, true);
// becomes:
$this->_append($string, true);

and
When opening Excel document on my OS / office version it stated that the file was corrupt.
C:\xampp\php\pear\OLE\PPS\Root.php - line 624

// this code:
// fwrite($FILE, pack("V", 1));
// becomes:
fwrite($FILE, pack("V", $num_sb_blocks));

Hope these mods fixes other peoples bugs..
Thanks, and apoligies if format is poor, this is my first post.
b_woodward2000
 
Posts: 1
Joined: 06. June 2013 13:27
Operating System: Windows 7 (64-bit)

Re: Xampp 1.8.1-VC9 pear not working on Windows 7 (64-bit)

Postby Altrea » 06. June 2013 14:22

Hi b_woodward2000,

The XAMPP developers and Administrators don't support PEAR Packages like the Excel Spreadsheets Writer class.
You can try to update the classes with help of the known PEAR commands (if that is a versions issue), configure it by yourself (if it is a user configuration issue) or use the bug reporting channels of this class (if it is a programm bug issue).

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 116 guests