| Project: | QDrupal |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
I am figuring out this application creation process. I created my app, and added the file into MyApp/pages. Template went into files/qdrupal/MyApp/templates. The file should have appeared in the dropdown, right?
Btw, here is the error messages:
* warning: scandir(C:/Users/Picardo/Sites/sites/default/files/qdrupal\MyApp/pages) [function.scandir]: failed to open dir: No error in C:\Users\Picardo\Sites\drupal-6\sites\all\modules\qdrupal\qdrupal.link.inc on line 165.
* warning: scandir() [function.scandir]: (errno 0): No error in C:\Users\Picardo\Sites\drupal-6\sites\all\modules\qdrupal\qdrupal.link.inc on line 165.
* warning: Invalid argument supplied for foreach() in C:\Users\Picardo\Sites\drupal-6\sites\all\modules\qdrupal\qdrupal.link.inc on line 165.
Comments
#1
Can anyone help?
#2
When qdrupal generates the path to an application in
qdrupal_application_disk_path(), it omits Drupal's base path. This isn't a problem if Drupal is at your document root, but if Drupal is in a subfolder then qdrupal fails to find its applications. This is simple to solve; I've attached a patch.#3