Answers.Body: <p>Ps, next time please add more info to original question!</p>
  
  <p>Under Administrator menu you will see 'directories and paths' and 'resources'. Please set these.</p>
  
  <p>Also, when I said file permissions, I meant on the actual foldee, i.e., in Windows, not civi. But you probably don't need to do that if you set the above properly and clear cache :)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-05T15:38:02.053Z
Answers.LastActivityDate: 2016-04-05T15:38:02.053Z
Answers.UserDisplayName: JohnFF
Answers.Body: <p>Try updating the file perms of the new extension and then clearing cache :)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-05T06:08:52.443Z
Answers.Text: Thanks JohnnFF, I set  permissions to 'access CiviCRM, administer CiviCRM'  and cleared the cache but it does not works.
  My idea is there is something wrong in the path.
  I can debug source, does someone have an idea where I can start from?
Answers.UserDisplayName: marcello
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-04T20:06:10.233Z
Answers.LastActivityDate: 2016-04-04T20:06:10.233Z
Answers.UserDisplayName: JohnFF
Answers.Body: <p>So, as always, plenty of reasons that can explain why something goes wrong.</p>
  
  <p>It might be that your extension is not taken into account
  ->try to die("here") on the main php of your extension, just to be sure it's properly used</p>
  
  <p>It might be that your new page isn't taken into account
  -> try to rebuild menu, see if helps</p>
  
  <p>or plenty of other reasons, but I'd start with these two ;)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-05T07:17:46.340Z
Answers.LastActivityDate: 2016-04-05T07:17:46.340Z
Answers.UserDisplayName: Xavier
Answers.Body: <p>I solved!
  I foolishly deleted some functions (eg. _alterSettingsFolders, ) in the base php.
  Thanks to all for your interest</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-06T08:33:07.283Z
Answers.LastActivityDate: 2016-04-06T08:33:07.283Z
Answers.UserDisplayName: marcello
Answers.Body: <p>Thanks to all I solved it!
  debbuging the code I noticed how, installing/disintalling the extension, the record in civicrm_menu table was missing. 
  I recreate it manually and for a while all worked but ....</p>
  
  <p>Now I found the following new error:</p>
  
  <p><em>( ! ) Fatal error: require_once(): Failed opening required 'CRM\Bollettinipostali\Form\UploadData.php' (include_path='.;C:/localhost/drupal/sites/all/modules/civicrm;C:/localhost/drupal/sites/all/modules/civicrm\packages;.;C:\localhost\drupal\sites\all\modules\civicrm;C:\localhost\drupal\sites\all\modules\civicrm\packages;C:\localhost\drupal\sites\all\modules\civicrm\vendor/phpseclib/phpseclib/phpseclib;.;C:\php\pear') in C:\localhost\drupal\sites\all\modules\civicrm\CRM\Core\Controller.php on line 451</em></p>
  
  <p>In some way my extension folder is not in the include_path</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-05T08:43:57.870Z
Answers.LastActivityDate: 2016-04-05T08:43:57.870Z
Answers.UserDisplayName: marcello
Body: <p>I'm developing my first extension (through civix) which contains a custom form and a specific menu item linking to the form.
  All was working until today, but suddenly, the page URL is no more reachable, the URL is sometime redirected to the home page, sometime a path warning error is displayed. 
  I tried to uninstall and reinstall the extension, but unsuccessfully.
  What can i do?</p>
  
  <p>Thanks
  Marcello</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-04T10:29:15.183Z
Comments.Text: What does the path warning error say?  Is anything reported in your logs?
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-04T12:10:38.637Z
Comments.Text: The warning (I cannot reproduce it anymore) told that the form .php page (UploadData.php) was non reachable, In the message there were all path of the other extensions except my one.
  Eg: custom_ext\all_other_extension_name\CRM\Bollettinipostali\Form\UploadData.php
  The log stay empty
Comments.UserDisplayName: marcello
Tags: <extension>
Title: Extension page no more reachable
ThreadText: # Extension page no more reachable
  
  (Asked by: username_0 on 2016-04-04)
  
  I'm developing my first extension (through civix) which contains a custom form and a specific menu item linking to the form.
  All was working until today, but suddenly, the page URL is no more reachable, the URL is sometime redirected to the home page, sometime a path warning error is displayed.
  I tried to uninstall and reinstall the extension, but unsuccessfully.
  What can i do?
  
  Thanks
  Marcello
  
  **Tags:** extension
  
  > **Comments:**
  > **username_1**: What does the path warning error say?  Is anything reported in your logs?  
  > **username_0**: The warning (I cannot reproduce it anymore) told that the form .php page (UploadData.php) was non reachable, In the message there were all path of the other extensions except my one. Eg: custom_ext\all_other_extension_name\CRM\Bollettinipostali\Form\UploadData.php The log stay empty  
  
  ---
  
  ## 5 answers
  
  ### Answer by username_2 on 2016-04-05. Score: 1
  
  Ps, next time please add more info to original question!
  
  Under Administrator menu you will see 'directories and paths' and 'resources'. Please set these.
  
  Also, when I said file permissions, I meant on the actual foldee, i.e., in Windows, not civi. But you probably don't need to do that if you set the above properly and clear cache :)
  
  
  ---
  
  ### Answer by username_2 on 2016-04-04. Score: 1
  
  Try updating the file perms of the new extension and then clearing cache :)
  
  > **Comments:**
  > **username_0**: Thanks JohnnFF, I set  permissions to 'access CiviCRM, administer CiviCRM'  and cleared the cache but it does not works. My idea is there is something wrong in the path. I can debug source, does someone have an idea where I can start from?  
  
  ---
  
  ### Answer by username_3 on 2016-04-05. Score: 1
  
  So, as always, plenty of reasons that can explain why something goes wrong.
  
  It might be that your extension is not taken into account
  ->try to die("here") on the main php of your extension, just to be sure it's properly used
  
  It might be that your new page isn't taken into account
  -> try to rebuild menu, see if helps
  
  or plenty of other reasons, but I'd start with these two ;)
  
  
  ---
  
  ### Answer by username_0 on 2016-04-06. Score: 0
  
  I solved!
  I foolishly deleted some functions (eg. \_alterSettingsFolders, ) in the base php.
  Thanks to all for your interest
  
  
  ---
  
  ### Answer by username_0 on 2016-04-05. Score: 0
  
  Thanks to all I solved it!
  debbuging the code I noticed how, installing/disintalling the extension, the record in civicrm\_menu table was missing.
  I recreate it manually and for a while all worked but ....
  
  Now I found the following new error:
  
  *( ! ) Fatal error: require\_once(): Failed opening required 'CRM\Bollettinipostali\Form\UploadData.php' (include\_path='.;C:/localhost/drupal/sites/all/modules/civicrm;C:/localhost/drupal/sites/all/modules/civicrm\packages;.;C:\localhost\drupal\sites\all\modules\civicrm;C:\localhost\drupal\sites\all\modules\civicrm\packages;C:\localhost\drupal\sites\all\modules\civicrm\vendor/phpseclib/phpseclib/phpseclib;.;C:\php\pear') in C:\localhost\drupal\sites\all\modules\civicrm\CRM\Core\Controller.php on line 451*
  
  In some way my extension folder is not in the include\_path
  
  
  ---
  
  