Failed to load PPM_DAT file

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

Failed to load PPM_DAT file

Postby conservationist » 18. July 2012 17:26

Hi there! Trying to install a library for use with Perl. Here's what I got when trying to run ppm:

Code: Select all
>ppm
Failed to load PPM_DAT file
Can't use an undefined value as a SCALAR reference at C:/Program Files/xampp/per
l/site/lib/PPM.pm line 1672, <DATA> line 41.


Does anyone recognize this error or have any suggestions? Thanks!
conservationist
 
Posts: 2
Joined: 18. July 2012 17:22
Operating System: Windows, Linux and BSD

Re: Failed to load PPM_DAT file

Postby JonB » 18. July 2012 20:31

Please let me know what library you were trying to install?

:?:

Thanks
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Failed to load PPM_DAT file

Postby conservationist » 19. July 2012 04:39

None -- just trying to start PPM and it exits with the message above! I didn't even get the chance to make a more complicated crash by installing a specific library.
conservationist
 
Posts: 2
Joined: 18. July 2012 17:22
Operating System: Windows, Linux and BSD

Re: Failed to load PPM_DAT file

Postby Altrea » 19. July 2012 05:26

I don't know perl much, but maybe perl or a component of this get in trouble with the whitespace in your installation path!?
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: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Failed to load PPM_DAT file

Postby JonB » 19. July 2012 16:29

@ conservationist

Altrea has a good point -

Many parts of XAMPP don't work in folders with special characters (yes the space in a folder name is a 'special character' in many filesystems)

The preferred location for XAMPP (on Windows) is in the root of a drive.

However - I do not know if that will fix your issue. (I think you will get a different error)

@ Altrea - now how did I miss that, LOL ??? :mrgreen:

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Failed to load PPM_DAT file

Postby Altrea » 19. July 2012 16:33

JonB wrote:@ Altrea - now how did I miss that, LOL ??? :mrgreen:

Too much sleeping and eating? :lol:
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: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Failed to load PPM_DAT file

Postby JonB » 19. July 2012 16:38

that must be it.... :shock:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Failed to load PPM_DAT file

Postby JonB » 20. July 2012 16:12

Although the OP has not posted back to this thread:

General answer for 'Full versions" of XAMPP -

Use the XAMPP 'Shell' Button in the Control Panel for CLI (Command Line Interface) or "Command Prompt/DOS Window" tasks like PPM or PEAR. What the XAMPP Shell does is set the environment variables and paths correctly so Language and Database utilities will know where components are installed. This is needed because XAMPP's components (in any version) are not 'installed' as far as the OS is concerned, thus the environment variables (SET) location and paths (PATH) have never been written to the OS configuration.

Good Luck to all
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 26 guests