| Project: | ProjectPier |
| Version: | 0.8.6-stable |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | phpfreak |
| Status: | closed - fixed |
Description
c.f. screenshot
| Attachment | Size |
|---|---|
| delete project.JPG | 28.74 KB |
| Project: | ProjectPier |
| Version: | 0.8.6-stable |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | phpfreak |
| Status: | closed - fixed |
c.f. screenshot
| Attachment | Size |
|---|---|
| delete project.JPG | 28.74 KB |
Confirmed and fixed. Code was missing.
Unzip attached file and put file in /application/models/projects
applied the patch above
still can't delete a project
PP outputs a message:
Failed to delete selected project
Apparently you get a different error than me. Okay, more analysis needed.
Open file application/controllers/ProjectsController.class.php
Search 'funcion delete()'
Go down and scan for this:
} catch(Exception $e) {DB::rollback();
Replace with this
} catch(Exception $e) {DB::rollback();
die($e);
Now, delete a project. The screen will turn blank with a lot of text on it. Paste the text here. Then remove the die($e);
i re-applied the patch (double checked this time)
it turns out to work fine for me
i'm sorry for disturbance
no worries (kein thema).
i am glad you tested it again.
we do not need to look further now :-)
Hi,
I have applied the patch for deleting the project but I'm getting error msg like this.
==
Exception in AutoLoader: exception 'Exception' with message 'Could not find class file for "PAGEATTACHMENTS"' in C:\xampp\htdocs\086\environment\classes\AutoLoader.class.php:105 Stack trace: #0 C:\xampp\htdocs\086\environment\classes\AutoLoader.class.php(111): AutoLoader->loadClass('PAGEATTACHMENTS') #1 C:\xampp\htdocs\086\application\functions.php(32): AutoLoader->loadClass('PAGEATTACHMENTS') #2 C:\xampp\htdocs\086\application\models\projects\Project.class.php(408): __autoload('PageAttachments') #3 C:\xampp\htdocs\086\application\models\projects\Project.class.php(1953): Project->getAllPageAttachments() #4 C:\xampp\htdocs\086\application\models\projects\Project.class.php(1933): Project->clearPageAttachments() #5 C:\xampp\htdocs\086\application\controllers\ProjectController.class.php(919): Project->delete() #6 C:\xampp\htdocs\086\environment\classes\controller\Controller.class.php(71): ProjectController->delete() #7 C:\xampp\htdocs\086\environment\classes\controller\PageController.class.php(71): Controller->execute('delete') #8 C:\xampp\htdocs\086\environment\classes\Env.class.php(124): PageController->execute('delete') #9 C:\xampp\htdocs\086\init.php(179): Env::executeAction('project', 'delete') #10 C:\xampp\htdocs\086\index.php(8): require('C:\xampp\htdocs...') #11 {main}
==
Patch is not working for me :(
The patch is only possible for 0.8.8. If you are running 0.8.8 then delete cache/autoloader.php and try again.
Is there any patch for 0.86 ? I am facing the problem in 0.86 only.
Me too. Any advice or assists on this problem? I've been challenging mine for quite a while...no dice. Any tips are appreciated!
Frankie,