Try the Demo

Magento Forum

   
Page 1 of 2
Addressing the Error:  "Unable to load application form"
 
Tim Schulz
Member
 
Avatar
Total Posts:  42
Joined:  2009-11-29
Los Angeles, CA
 

We received a question from one of our users that I’d like to post here:

I’ve installed the Magento Mobile extension for Community 1.4.x on my 1.4.0.1 store and it seems to have installed correctly however when I go to Add Application I get this error:

Unable to load application form.

Please can you point me in the direction to get this working?

This extension was installed manually using the Tar.gz file (not automatically via PEAR), and we recommend that you check the following:

- Make sure you properly install the layout xmlconnect.xml \app\design\adminhtml\default\default\layout
- Refresh the cache after the installation
- If you have already installed everything correctly, turn on log settings from System->Configuration->Developer-> Log setting, and post your var/log/exception.log file here for community review.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lacrosse
Jr. Member
 
Total Posts:  3
Joined:  2010-02-16
 

Tim,

I’m currently running into this problem. It worked fine on my local dev environment but when it was loaded on our production I’m getting this error. Here is the error in the exception.log:

2010-08-20T21:06:30+00:00 ERR (3):
exception ‘Exception’ with message ‘Unable to list current working directory.’ in /var/www/magento-ent/lib/Varien/Io/File.php:417
Stack trace:
#0 /var/www/magento-ent/lib/Varien/Io/File.php(301): Varien_Io_File->cd(’/var/www/magent...’)
#1 /var/www/magento-ent/app/code/core/Mage/XmlConnect/Helper/Theme.php(92): Varien_Io_File->open(Array)
#2 /var/www/magento-ent/app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design/Accordion/Themes.php(61): Mage_XmlConnect_Helper_Theme->getAllThemes()
#3 /var/www/magento-ent/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(144): Mage_XmlConnect_Block_Adminhtml_Mobile_Edit_Tab_Design_Accordion_Themes->_prepareForm()
#4 /var/www/magento-ent/app/code/core/Mage/Core/Block/Abstract.php(667): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#5 /var/www/magento-ent/app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design/Accordion.php(45): Mage_Core_Block_Abstract->toHtml()
#6 [internal function]: Mage_XmlConnect_Block_Adminhtml_Mobile_Edit_Tab_Design_Accordion->addAccordionItem(’themes’, ‘accordion_theme...’)
#7 /var/www/magento-ent/app/code/core/Mage/Core/Model/Layout.php(347): call_user_func_array(Array, Array)
#8 /var/www/magento-ent/app/code/core/Mage/Core/Model/Layout.php(213): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#9 /var/www/magento-ent/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#10 /var/www/magento-ent/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#11 /var/www/magento-ent/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#12 /var/www/magento-ent/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#13 /var/www/magento-ent/app/code/core/Mage/Core/Controller/Varien/Action.php(343): Mage_Core_Model_Layout->generateBlocks()
#14 /var/www/magento-ent/app/code/core/Mage/Core/Controller/Varien/Action.php(270): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#15 /var/www/magento-ent/app/code/core/Mage/Adminhtml/Controller/Action.php(263): Mage_Core_Controller_Varien_Action->loadLayout(NULL, true, true)
#16 /var/www/magento-ent/app/code/core/Mage/XmlConnect/controllers/Adminhtml/MobileController.php(158): Mage_Adminhtml_Controller_Action->loadLayout()
#17 /var/www/magento-ent/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_XmlConnect_Adminhtml_MobileController->editAction()
#18 /var/www/magento-ent/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(’edit’)
#19 /var/www/magento-ent/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#20 /var/www/magento-ent/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#21 /var/www/magento-ent/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#22 /var/www/magento-ent/index.php(80): Mage::run(’’, ‘store’)
#23 /var/www/magento-ent/lightspeed.php(30): include_once(’/var/www/magent...’)
#24 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tim Schulz
Member
 
Avatar
Total Posts:  42
Joined:  2009-11-29
Los Angeles, CA
 

One of our engineers will respond shortly.  Which version of Magento are you running?

 
Magento Community Magento Community
Magento Community
Magento Community
 
lacrosse
Jr. Member
 
Total Posts:  3
Joined:  2010-02-16
 
Tim Schulz - 21 August 2010 03:14 PM

One of our engineers will respond shortly.  Which version of Magento are you running?

Enterprise Edition 1.8.0.0

 
Magento Community Magento Community
Magento Community
Magento Community
 
LindyKyaw
Magento Team
 
Avatar
Total Posts:  138
Joined:  2008-01-02
Los Angeles
 

@Aaron: Did you put the writable permission to mdeia/xmlconnect?
You can run the following command from ehll in Magento base directory.
chmod 777 -R media/xmlconnect

 
Magento Community Magento Community
Magento Community
Magento Community
 
lacrosse
Jr. Member
 
Total Posts:  3
Joined:  2010-02-16
 

Thanks LindyKyaw. I remembered that our media directory wasn’t in our code repository and, therefore, the media/xmlconnect directory needed to be uploaded separately.

Everything is working great now.

 
Magento Community Magento Community
Magento Community
Magento Community
 
engineIT
Jr. Member
 
Total Posts:  12
Joined:  2009-07-14
 

I’ve installed the Magento Community 1.5.0.1 store and it seems to have installed correctly however when I go to Add Application I get this error:

Unable to load application form.

Please can you point me in the direction to get this working?

magento-check.php :

Congratulations! Your server meets the requirements for Magento.

You have PHP 5.2.0 (or greater)
Safe Mode is off
You have MySQL 4.1.20 (or greater)
You have the curl extension
You have the dom extension
You have the gd extension
You have the hash extension
You have the iconv extension
You have the mcrypt extension
You have the pcre extension
You have the pdo extension
You have the pdo_mysql extension
You have the simplexml extension

This was installed manually using the .zip file by creating a database unzipping 1.5.0.1 to a folder called /store/

Once it unzips it creates a folder called /magento/ so I copy the contents of magento back to store making sure all hidden files are copied also.

I then copy the contents of my database sample media folder which is /catalog/ into the media folder store/media/

next I copy a file into store called magento-cleanup.php into store (this sets all folders to 777, files to 644, and pear permissions to 550 as the contents reads see attached)

I run the install.php by simply typing the path of my domain/store/ see attached
everything installs fine.

I go to the backend and reindex so my pics work in the frontend - working fine

I goto mobile - manage apps - +add app - select iphone (or any of them) > and get Unable to load application form.

see pics attached..

Now I’ve been tried so many variations of installing this and this post is still the closest to what I’m encountering.

The above poster wrote:
- Make sure you properly install the layout xmlconnect.xml \app\design\adminhtml\default\default\layout
- Refresh the cache after the installation
- If you have already installed everything correctly, turn on log settings from System->Configuration->Developer-> Log setting, and post your var/log/exception.log file here for community review.

~~~~~ ;(

I am so unsure about this xmlconnect its not funny anymore. After reading lots of posts I’m pretty sure I’m missing something pretty huge - like the /media/xmlconnect/ dir

at no times through the installation process did I ever see it in my ftp program

I unzipped the 1.5.0.1 to my computer and didnt see it there either.

at the bottom of http://www.magentocommerce.com/magento-connect/Magento+Core/extension/4457/magento_mobile is has a some manual installation steps abd its these steps that make me think I’m screwing up hard.

Back up your Magento installation and database before installing!

* Disable your Magento cache
* Move the following files and directories from the Mage_XmlConnect archive into the corresponding locations in your Magento installation
app directory

app/code/core/Mage/XmlConnect/
app/design/adminhtml/default/default/layout/xmlconnect.xml
app/design/adminhtml/default/default/template/xmlconnect/
app/design/frontend/base/default/layout/xmlconnect.xml or app/design/frontend/{your_design_package}/default/layout/xmlconnect.xml
app/etc/modules/Mage_XmlConnect.xml
locale/en_US/Mage_XmlConnect.csv

js directory

js/jscolor/

media directory

media/xmlconnect/
skin directory
skin/adminhtml/default/default/images/xmlconnect/
skin/adminhtml/default/default/xmlconnect/
skin/frontend/base/default/images/xmlconnect/

* Be sure to set the media/xmlconnect folder permission as 777

I dont even have a media/xmlconnect folder.. #$%#@

Can someone point out the obvious please??

File Attachments
magento-cleanup.php  (File Size: 3KB - Downloads: 11)
 
Magento Community Magento Community
Magento Community
Magento Community
 
morten15847
Jr. Member
 
Total Posts:  12
Joined:  2010-05-04
 
Tim Schulz - 16 August 2010 01:39 PM

We received a question from one of our users that I’d like to post here:


I’ve installed the Magento Mobile extension for Community 1.4.x on my 1.4.0.1 store and it seems to have installed correctly however when I go to Add Application I get this error:

Unable to load application form.

Please can you point me in the direction to get this working?

This extension was installed manually using the Tar.gz file (not automatically via PEAR), and we recommend that you check the following:

- Make sure you properly install the layout xmlconnect.xml \app\design\adminhtml\default\default\layout
- Refresh the cache after the installation
- If you have already installed everything correctly, turn on log settings from System->Configuration->Developer-> Log setting, and post your var/log/exception.log file here for community review.

I have installed it through connect, but get the error mentioned above. I have the XML conect file and all permessions to 777.

I have attached the exception log file

File Attachments
exception.log  (File Size: 4KB - Downloads: 3)
 
Magento Community Magento Community
Magento Community
Magento Community
 
engineIT
Jr. Member
 
Total Posts:  12
Joined:  2009-07-14
 

I also changed my folders to 755 and no change as well as trying various versions of magento.

about every version actually 1.3.2 and up

;(

 
Magento Community Magento Community
Magento Community
Magento Community
 
morten15847
Jr. Member
 
Total Posts:  12
Joined:  2010-05-04
 

Whould be nice with a solution, been trying to install mobile and get to work for about two weeks now… seems everytime I find a solutions to one problem then it just brings me to another problem. vampire

 
Magento Community Magento Community
Magento Community
Magento Community
 
morten15847
Jr. Member
 
Total Posts:  12
Joined:  2010-05-04
 

OK i got it to work finally in Magento ver. 1.4.2.0 - as said earlier I installed it through the connect manager, but it seems that not all files where installed, so after the installation i downloaded the package from http://www.magentocommerce.com/magento-connect/Magento+Core/extension/4457/magento_mobile and uploaded the files to my server, didnt overwrite any of the existing files… refresh cache and it works now…

Hope i dont run into any more problems with this extension!

 
Magento Community Magento Community
Magento Community
Magento Community
 
lovestjarna
Jr. Member
 
Total Posts:  1
Joined:  2010-01-05
 

I have tried to install 1.5.0.1 with the Magento downloader and also by uploading all files manually. But I get the same errors as mentioned in the top… Does it even work on 1.5? I cant see anything that says so by version numer. Also about the “media/xmlconnect” folder I dont get… I have none - should I? Anyone from the team that can bring any light on this “Unable to load application form"… because something is wrong with it!

 
Magento Community Magento Community
Magento Community
Magento Community
 
rrightmyer
Jr. Member
 
Total Posts:  6
Joined:  2008-02-09
 

We are running Magento ver. 1.5.0.1 (Community edition) and are attempting to setup a Mobile App.

We also received the “Unable to load application form.” error for any of the (3) available device types.

There was no “xmlconnect” folder within the media directory so we created one and assigned permissions of 777 to that directory.

Still no luck in getting this to work.

 
Magento Community Magento Community
Magento Community
Magento Community
 
LindyKyaw
Magento Team
 
Avatar
Total Posts:  138
Joined:  2008-01-02
Los Angeles
 

I just downloaded 1.5.0.1 from the download section and there is xmlconnect folder under media. Please try to download again, refresh cache after installation and change media folder permission.

 
Magento Community Magento Community
Magento Community
Magento Community
 
rrightmyer
Jr. Member
 
Total Posts:  6
Joined:  2008-02-09
 

OK, we uninstalled our previous 1.5.0.1 installation (installed using full release package method) and re-installed 1.5.0.1 using the downloader method. Same results as before.

We go to Mobile > Manage Apps > Add App > Select “iPhone” device type > Press “Continue”.  We immediately see the “Unable to load application form” error message. As was the case in both installations, there is no “xmlconnect” folder being created in our media directory. We created one to test that, setting permissions as 777 for both the media and xmlconnect directories and still no luck.

Would appreciate any advice as to why this isn’t working.

 
Magento Community Magento Community
Magento Community
Magento Community
 
LindyKyaw
Magento Team
 
Avatar
Total Posts:  138
Joined:  2008-01-02
Los Angeles
 

@rrightmyer, please download the attachment, unzip the file and upload xmlconnect into media directory.
After you finish uploading, don’t forget to change the folder permission. e.g chmod 777 -R media

File Attachments
xmlconnect.zip  (File Size: 12KB - Downloads: 359)
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 1 of 2