ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PyroCMS v0.9.7.4 - an open-source modular general purpose CMS

April 03, 2009 8:29am

Subscribe [70]
  • #526 / Sep 07, 2009 4:45pm

    Yorick Peterse

    537 posts

    Hi all, sorry I’m posting this here but it was simple impossible to send a message trough the pyro cms contact form because of the captcha, here is my problem:

    I’m trying to install PyroCMS on my localhost I’ve followed installation instructions but when I go to my index page all I see is this php code as the page’s output:

    load->view($theme_view_folder.'metadata'); ?>
    load->view($theme_view_folder.'header'); ?>
    url, $nav_link->title); ?>
    load->view($theme_view_folder.'menu'); ?>
    load->module_view('newsletters', 'subscribe_form') ?>
    Recent Posts
    
    news_m->getNewsHome(); ?>
    load->view($theme_view_folder.'breadcrumbs'); ?>
    session->flashdata('notice')) { echo '
    ' . $this->session->flashdata('notice') . '
    '; } ?> session->flashdata('success')) { echo '
    ' . $this->session->flashdata('success') . '
    '; } ?> session->flashdata('error')) { echo '
    ' . $this->session->flashdata('error') . '
    '; } ?>
    load->view($theme_view_folder.'footer'); ?>

    I’ve tried removing the .htaccess file and I have full permissions of the root folder, and I can run other codeigniter sites with no problem, hope anyone of you can help me here. Thanks in advance.

    You’re getting that output because your server doesn’t has PHP short tags enabled. You can enable them by installing (or enabling) a certain Apache module, but I can’t remember the name of it.

  • #527 / Sep 08, 2009 12:33am

    rubber.drummer

    8 posts

    hey thanks for the reply I solved by setting the

    $config['rewrite_short_tags'] = TRUE;

    in the config file, but now I’m getting Unable to load the requested language file: language/newsletter_lang.php I’ve searched for the file and I do have it on application\modules\newsletters\language\english and spanish but I don’t know where it must be registered.. or if I’m missing something else? Thanks in advance.

  • #528 / Sep 08, 2009 3:32am

    wiredesignz

    2882 posts

    ...You’re getting that output because your server doesn’t has PHP short tags enabled. You can enable them by installing (or enabling) a certain Apache module, but I can’t remember the name of it.

    Enabling short tags is a php.ini setting and has nothing to do with Apache. And is usually enabled.

    @rubber.drummer, I would have suggested to check the config setting, but seems you found it anyway. Good work.

  • #529 / Sep 08, 2009 6:55am

    Yorick Peterse

    537 posts

    ...You’re getting that output because your server doesn’t has PHP short tags enabled. You can enable them by installing (or enabling) a certain Apache module, but I can’t remember the name of it.

    Enabling short tags is a php.ini setting and has nothing to do with Apache. And is usually enabled.

    @rubber.drummer, I would have suggested to check the config setting, but seems you found it anyway. Good work.

    Dumb me, forgot it was the PHP settings menu instead of the Apache one, they look exactly the same in WAMP on Windows 😛

  • #530 / Sep 09, 2009 4:19am

    Phil Sturgeon

    2889 posts

    Anybody else getting an issue with installer saying it failed on the last step, but in fact creating the tables anyway?

    I have experienced it myself and had it reported to me by several others.

  • #531 / Sep 09, 2009 4:37am

    Developer13

    574 posts

    [Author Removed Post]

  • #532 / Sep 09, 2009 4:45am

    Phil Sturgeon

    2889 posts

    Just wondering if anyone else was getting this issue. Yorick is sure that it is my setup, yet I believe it to be a bug with his installer!

  • #533 / Sep 09, 2009 2:48pm

    NateL

    248 posts

    Anybody else getting an issue with installer saying it failed on the last step, but in fact creating the tables anyway?

    I have experienced it myself and had it reported to me by several others.

    Ummm… isn’t this YOUR CMS?

    Yeah, it’s his - but he’s asking so he can diagnose the el problemo. 😊

  • #534 / Sep 09, 2009 3:02pm

    Yorick Peterse

    537 posts

    Anybody else getting an issue with installer saying it failed on the last step, but in fact creating the tables anyway?

    I have experienced it myself and had it reported to me by several others.

    Ummm… isn’t this YOUR CMS?

    No, we made a fork of Expression Engine that’s being funded by Derek Allard and called it PyroCMS….

  • #535 / Sep 10, 2009 2:13pm

    rubber.drummer

    8 posts

    Yes I did experience that error too, I deleted the database and ran the scripts manually to generate it again..

    Now the problem I have is that I’m getting Unable to load the requested language file: language/newsletter_lang.php I’ve searched for the file and I do have it on application\modules\newsletters\language\english and spanish but I don’t know where it must be registered.. or if I’m missing something else?

    Thanks in advance.

  • #536 / Sep 10, 2009 7:26pm

    Phil Sturgeon

    2889 posts

    We have a ticket set up for the installer bug. As for the newsletter_lang.php file being missing, thats a weird one!

    It exists alright, is this being uploaded via FTP or on a local setup? If it is FTP then it could be a corrupt upload or something strange like that.

  • #537 / Sep 12, 2009 3:28am

    rubber.drummer

    8 posts

    Hi Phil thanks. Yeah its a local setup I’ve searched for that file “language/newsletter_lang.php” and I do have 2 of them one at application\modules\newsletters\language\english and the other at application\modules\newsletters\language\spanish.

    The weird part is that the error is saying it should be under the folder language I did a search for the folder and since there where many of them I open the one under application\modules\newsletter because of the error telling its about newsletter, so under that folder I have 2 folders one for english and one for spanish.

    So I pulled one of the “newsletter_lang.php” and pasted in the language folder directly to see if that fixed the issue, but still no luck, maybe something went wrong at the installation and I have to manually tell some config file where is my default language or something like that? Any help is appreciated, thanks in advance

  • #538 / Sep 15, 2009 2:28am

    dysfictional

    6 posts

    Found another issue in 0.9.7-pre with the pages module: the delete method in the controller references the deletePage function in the model which does not exist.

    The fix:
    change
    $this->pages_m->deletePage($id);
    to
    $this->pages_m->delete($id);
    The other issue in the page model:
    change
    $thia->db->where(‘id’, $id)->or_where(‘parent_id’, $id);
    to
    $this->db->where(‘id’, $id)->or_where(‘parent_id’, $id);


    The other issue i’ve been encountering with this module is relative urls in the tinymce editor where i want to set up a link to another page held by the pages controller, but the editor inserts “../” before anything typed as a link href.

  • #539 / Sep 15, 2009 6:01am

    Phil Sturgeon

    2889 posts

    The page model stuff has been fixed. Remember that if its not a tagged release, things are likely to be a bit broken here and there.

    I have added a ticket about the TinyMCE relative URL issue to our new private bug-tracker. I will take a look at this myself as it has annoyed me for a while.

  • #540 / Sep 15, 2009 6:45am

    dysfictional

    6 posts

    The page model stuff has been fixed. Remember that if its not a tagged release, things are likely to be a bit broken here and there.

    I have added a ticket about the TinyMCE relative URL issue to our new private bug-tracker. I will take a look at this myself as it has annoyed me for a while.

    No problems, I was getting a little bit impatient with the non-recursive page routing in 0.9.6.2 and decided to take the jump. How long until the official 0.9.7 branch will be released?

    The relative url issue was fixed extremely quickly using the code on: http://codeigniter.com/wiki/Automatic_configbase_url/ and patching application/config/config.php and relative links can be inserted with “parent/child” in the anchor menu in tinymce

    EDIT: This only fixes the “../” issue on the development server and lends to being easier to relocate to a production environment. I remember reading about a relative_url parameter that can be fed into tinymce at init but i would have to look closer at that for the specifics.

    I have been thinking about how to add conditional nav link selection/highlighting to the navigation module and in my experiments, I have been trying to see if there is a way to edit existing navigation groups to modify their properties, ie “conditions=yes|mode=firstmatch” stored in an additional field in the navigation_groups table. Are there any existing stubs for doing so?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases