Menu

#2 Thanks and additional

open
nobody
None
5
2014-07-08
2011-05-04
Anonymous
No

Hello, thank you for answering my question. I'm not sure how to follow up on your response because I don't have a log in, but I sure appreciate your help. Before I got your response, I actually did install GRITT on my local server using MAMP (I have a Mac). But it is doing the exact same thing. I've tried Safari and Firefox both. The Gritt interface clears out when I press save and is not there when I go back-- even your demo goes blank and shows a need to start over with building the template. Now in your instructions you said move the folder named "designer" over to the server. But I've downloaded the zip several times and there is no folder named "designer" in my package. But I did copy everything over, it opens fine on localhost, etc-- but just will not save.
I'm not sure the files are clearing out-- when I open the PHP file of your demo I see the "containers" all still there in the code:

<div class="container_12 ">

    &lt;div id="sidebar"  class="grid\_3 "&gt;

        &lt;div id="search"  class="grid\_3  alpha "&gt;

So, perhaps it is actually saved, but just doesn't want to show up in my localhost>>gritt interface? So, I tried to install a template on Joomla just to see-- but that did not work. I think I'm not understanding the installation instructions either. I found your video and watched that, but still no luck. I will try again, but any tips you have on installation are also helpful. That way I can find out if the templates are saving in some manner.

Here is my original question and THANKS!

~~~~~~~~~~~~~

Hello, thank you for this great product. I seemed to have installed GRITT just fine on a webserver (not local-- with my hosting company) and I can see the demo template the file names of the templates I've created. However, when I open what I created (and I thought I saved) my template is not there. It's blank. It appears to save correctly (so the message says) and I get no error, but again what I've created doesn't really save. Just the file with the correct name I've chosen and when I open that all is blank. Can you please advise? Thanks!
Submitted:

Nobody/Anonymous ( nobody ) - 2011-05-02 03:08:41 UTC
Priority:

Comment ( 1 )
Add a comment

Date: 2011-05-04 00:18:33 UTC
Sender: vernongibsonProject Admin

Hello,

The problem you're having is due to the fact that GRITT was not designed
be used on a remote server. The project was designed for developers, who
generally have a 'development' environment on their local machine. GRITT
does not contain the security code that should be in place when a remote
user is allowed to write to the server. You've probably opened your
environment to a myriad of vulnerabilities. I would suggest that you locate
and download XAMPP or a similar stack and install it onto your local
machine for development. You can then migrate your completed project to
your server without fear of attack.

Vernon

Discussion

  • Vernon Gibson

    Vernon Gibson - 2011-05-06

    What version of PHP are you runnng? You'll need to update to PHP 5 to use the application.

     
  • Nobody/Anonymous

    Thanks-- I figured out the problem, it was adding slashes \\ throughout the saved code. When I removed all the slashes it worked just fine.

    This is what the saved code looks like (sample), so you can see all the weird stuff that it did for me.

    <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
    <html xmlns=\"http://www.w3.org/1999/xhtml\">

    <head>
    <jdoc:include type=\"head\" />
    <link rel=\"stylesheet\" href=\"<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/960.css\" />
    <link rel=\"stylesheet\" href=\"<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/gritt-base.css\" />
    <link rel=\"stylesheet\" href=\"<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style.css\" />
    </head>

    <body>
    <div id=\"grid\">

    &lt;div  class=\"container\_12 \"&gt;
    
        &lt;div id=\"logo\"  class=\"grid\_12 \"&gt;
    

    <jdoc:include type=\"modules\" name=\"logo\" />

        &lt;/div&gt;&lt;\!-- end cell --&gt;
    
        &lt;div id=\"menu\"  class=\"grid\_12 \"&gt;
    

    <jdoc:include type=\"modules\" name=\"menu\" />

        &lt;/div&gt;&lt;\!-- end cell --&gt;
    
    &lt;/div&gt;&lt;\!-- end row --&gt;
    
    &lt;div  class=\"container\_12 \"&gt;
    
        &lt;div id=\"user1\"  class=\"grid\_12 \"&gt;
    

    <jdoc:include type=\"modules\" name=\"user1\" />

        &lt;/div&gt;&lt;\!-- end cell --&gt;
    
    &lt;/div&gt;&lt;\!-- end row --&gt;
    
    &lt;div  class=\"container\_12 \"&gt;
    
        &lt;div id=\"left\"  class=\"grid\_1 \"&gt;
    

    <jdoc:include type=\"modules\" name=\"left\" />

        &lt;/div&gt;&lt;\!-- end cell --&gt;
    

    Anyway, after that I got it working just fine. Had another problem (accidentally deleted the "content" line but eventually tracked that down, too.
    Thanks.

     

Log in to post a comment.