Welcome Guest, Not a member yet? Register   Sign In
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS

[eluser]Cambo[/eluser]
HI Phil
I setup pyrocms on my localhost (xampp server)
Everything worked perfect.
I created my theme. Great.
Added some content. Awesome!
"this is great. I will upload it to my live server"
Copied database to server.
Copied code to server.
Tried admin login on live server. Logged in.
Check settings. OK.
View website. Uh Oh - blank page. bugger. Sad
Check logs - wtf??
+++++++++++++++++++
[Wed Apr 07 16:47:43 2010] [error] [client 192.168.0.210] PHP Fatal error: Uncaught exception 'Dwoo_Exception' with message 'Plugin <em>theme_view</em> can not be found, maybe you forgot to bind it if it's a custom plugin ?' in /home/www/web6/web/application/libraries/dwoo/Dwoo/Loader.php:115\nStack trace:\n#0 /home/www/web6/web/application/libraries/dwoo/Dwoo/Compiler.php(2903): Dwoo_Loader->loadPlugin('theme_view', false)\n#1 /home/www/web6/web/application/libraries/dwoo/Dwoo/Compiler.php(1669): Dwoo_Compiler->getPluginType('theme_view')\n#2 /home/www/web6/web/application/libraries/dwoo/Dwoo/Compiler.php(1338): Dwoo_Compiler->parseFunction('<!DOCTYPE html ...', 192, 883, false, 'root', 214)\n#3 /home/www/web6/web/application/libraries/dwoo/Dwoo/Compiler.php(794): Dwoo_Compiler->parse('<!DOCTYPE html ...', 192, NULL, false, 'root', 214)\n#4 /home/www/web6/web/application/libraries/dwoo/Dwoo/Template/String.php(369): Dwoo_Compiler->compile(Object(Dwoo), Object(Dwoo_Template_String))\n#5 /home/www/web6/web/application/libraries/dwoo/Dwoo.php(363): Dwoo_Template_String->getCompiledTemplate(O in /home/www/web6/web/application/libraries/dwoo/Dwoo/Loader.php on line 115
+++++++++++++++++++
Have you seen this before?
Any clues?
Works perfect with exactly the same settings / setup on localhost.
Xampp is configured to be as much like live server as possible.
TIA
Cambo

[eluser]Phil Sturgeon[/eluser]
You've posted this in the v0.9.7.x branch which worries me, as theme_view() does not exist in that version.

Are you using 0.9.8? If so, check your application/config/autoload.php and make sure the theme helper is being loaded.

[eluser]Cambo[/eluser]
Hi Phil
This is the file name I downloaded - philsturgeon-pyrocms-fe81863.zip ,admin panel says version v0.9.8-rc1

autoload.php
Code:
$autoload['helper'] = array('url', 'form', 'text', 'language', 'pages/pages', 'modules/module',
                            'navigation/navigation', 'widgets/widgets', 'themes/theme', 'asset', 'pagination', 'array');

From the codeigniter log:
Code:
DEBUG - 2010-04-07 10:11:05 --&gt; File loaded: application/modules/core/themes/helpers/theme_helper.php
DEBUG - 2010-04-07 10:11:06 --&gt; File loaded: application/views/../themes/lazydays/views/layout.php

Strange this is it works perfectly on my localhost, but not on the live server.

[eluser]Cambo[/eluser]
Hi All
Has anyone got any ideas??

The admin section works fine but the website and also the edit-profile link both give the error above.
I have tried to follow throught the code, but Dwoo is complicated.

I have tried changing file and folder permissions, cleared the cache many times.

It looks like something to do with the routes or paths but it shouldn't be as everything works fine on the localhost ( xampp) server, just doesn't work on the live server.

I really like PyroCMS as I am a long time codeigniter user so I want to use it for my site if I can.

TIA
Cambo

[eluser]Phil Sturgeon[/eluser]
Try swapping the theme to something else in the admin panel.

[eluser]Cambo[/eluser]
Sorry, should have mentioned that I have tried that. - default theme, included themes, my theme, all the same error.
Also did a complete fresh install of the vanilla download. - Same error.

It "feels" like either permissions or htaccess or maybe some crazy setting on the server somewhere.
Is there any known "gotchas" with dwoo?

[eluser]Nurdin Bekkeldiev[/eluser]
When I login into admin panel, I got this error. PyroCMS v0.9.8-rc2

A PHP Error was encountered
Quote:Severity: Notice

Message: Undefined property: Modules_m::$user

Filename: models/modules_m.php

Line Number: 73

modules_m Module line 73

Code:
if(!$this->permissions_m->has_admin_access( $this->user->group_id, $module['slug']) ) continue;

[eluser]Phil Sturgeon[/eluser]
Try grabbing the very newest version of the codebase, this should be resolved already.

[eluser]TheIgniter[/eluser]
hey phil,

i dont know why i dont see the navigation bar when i acces to my module, there is a problem with the language ? i dont see why ..

http://i48.tinypic.com/2d599e.jpg

[eluser]hugle[/eluser]
[quote author="TheIgniter" date="1278051964"]hey phil,

i dont know why i dont see the navigation bar when i acces to my module, there is a problem with the language ? i dont see why ..

http://i48.tinypic.com/2d599e.jpg[/quote]

hi
there is now PyroCMS forum: http://pyrocms.com/forums




Theme © iAndrew 2016 - Forum software by © MyBB