Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import not working on Windows #148

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment
Open

Import not working on Windows #148

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Collaborator

What steps will reproduce the problem?
1. install on Windows
2. configure __PHP_CLI_PATH__ to 'C:\wamp\www\bin\php\php5.2.6\php.exe' or
wherever your php executable is
3. in the project management page, import from the data/import/# directory

What is the expected output? What do you see instead?
When the page refreshes, the operation log shows:
  There are messages from the background process: Could not open input
file: includes/narro/importer/importer.php
I went into narro_project_manage.php and modified line 399:
   $strCommand = sprintf(
   __PHP_CLI_PATH__ . ' ' .
   escapeshellarg('/includes/narro/importer/importer.php').
to:
   $strCommand = sprintf(
   __PHP_CLI_PATH__ . ' ' .
   escapeshellarg(__DOCROOT__ .
__SUBDIRECTORY__.'/includes/narro/importer/importer.php').
and import now seems to work, but operation log shows:
   There are messages from the background process: 'ps' is not recognized
as an internal or external command, operable program or batch file.

What version of the product are you using?
latest

What operating system are you using?
Windows XP with the wampserver package

What browser are you using? (name and version)
Mozilla Firefox 3.5

Please provide any additional information below.


Original issue reported on code.google.com by goo...@n.ganivet.net on 15 Aug 2009 at 5:10

@GoogleCodeExporter
Copy link
Collaborator Author

Original comment by alex...@gmail.com on 13 Oct 2011 at 6:00

  • Changed state: Accepted
  • Added labels: Version-2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant