Not signed in (Sign In)

Categories

Vanilla 1.0.1 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorNixMaster
    • CommentTimeSep 23rd 2008
     
    So I followed the instructions and installed the the server. After I logged in the first time, it attempted to forward me to /portsensor/home which doesn't exist. After I went back to /portsensor I seen a semi broken control panel then started receiving the error ERROR: ClassLoader could not find 'Zend_Registry':

    I'm not really sure how to proceed. Any help is appreciated.
    • CommentAuthorNixMaster
    • CommentTimeSep 23rd 2008
     
    ok I have fixed that issue. it seem you need to enable the option below in php.ini for it to work properly.

    ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
    zend.ze1_compatibility_mode = On

    Now I'm getting these errors:

    ERROR: ClassLoader could not find 'PsUpdateController':
    ERROR: ClassLoader could not find 'PsPageController':
    ERROR: ClassLoader could not find 'PsRestFrontController':
    ERROR: ClassLoader could not find 'PsPostController':
    ERROR: ClassLoader could not find 'PsFeedController':
    • CommentAuthorMikeWGM
    • CommentTimeSep 24th 2008
     
    You shouldn't have to change the zend.ze1_compatibility_mode to 'On' especially since the installer requires that you be running PHP 5.1.4 or later to install.

    The class it's looking for in your first error message you mentioned "Zend_Registry" is supposed to be in /portsensor/libs/devblocks/libs/ZendFramework/Zend/Registry.php . Is that file there? Perhaps something got changed or corrupted.

    You could also try accessing /portsensor/index.php/home instead of /portsensor/home which might work if you don't have apache mod rewrite enabled.
    • CommentAuthorNixMaster
    • CommentTimeSep 24th 2008
     
    Mike,

    I did a full re-install of the server and it is working now, but still not working with mod_rewrite. The images are broken and all clickable links are 404 (even when trying index.php/home, etc).

    I have verified that mod_rewrite is installed & loaded with apache (via phpinfo()). I'm not really sure how to proceed...
    • CommentAuthorMikeWGM
    • CommentTimeSep 24th 2008
     
    Have you renamed the .htaccess-dist file in the portsensor install directory to .htaccess ? If not, try that.
    • CommentAuthorNixMaster
    • CommentTimeSep 24th 2008
     
    I have, I followed the install instructions step by step.
    • CommentAuthorMikeWGM
    • CommentTimeSep 25th 2008
     
    What happens if you turn on error_reporting and display_errors in your php.ini and then try to load one of the image urls in your browser?
    • CommentAuthorNixMaster
    • CommentTimeSep 25th 2008
     
    The requested URL /portsensor/resource/app.core/images/logo.jpg was not found on this server.
    • CommentAuthorMikeWGM
    • CommentTimeSep 25th 2008 edited
     
    For some reason rewrite isn't working for you. It should be impossible to get "not found" errors with the example .htaccess file. The lines in that file:

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php [L]

    Should make it so that ANY url you type after the directory take you to index.php in that current directory. You could even take that .htaccess file out of PortSensor and put it somewhere else web accessible and typing any url after the directory the file is in should show you the contents of your index.php (whatever you put in it, static text or anything) in the same directory.
    • CommentAuthorMikeWGM
    • CommentTimeSep 25th 2008
     
    What happens if you try accessing that image with index.php in the URL like:

    /portsensor/index.php/resource/app.core/images/logo.jpg
    • CommentAuthorNixMaster
    • CommentTimeSep 25th 2008
     
    portsensor/index.php/resource/app.core/images/logo.jpg redirects me to the login page.
    • CommentAuthorNixMaster
    • CommentTimeSep 25th 2008
     
    Sorry, it doesn't redirect. It just simply loads the login page.
    • CommentAuthorMikeWGM
    • CommentTimeSep 25th 2008
     
    If you're ok with it working without using rewrited urls then you could just rename the .htaccess file back to something else. If it doesn't find a .htaccess file it writes the urls in links and images with "index.php" . You could try that and see if that works for you.
    • CommentAuthorNixMaster
    • CommentTimeSep 25th 2008
     
    Actually that did it. I never even tried to use this without the .htaccess file. Thanks.
    • CommentAuthorMikeWGM
    • CommentTimeSep 25th 2008
     
    Great! Your welcome.

PortSensor Homepage | Buy PortSensor | Download PortSensor | PortSensor Development Portal

PortSensor™ is © Copyright 2006, WebGroup Media LLC.