Results 1 to 25 of 25

Thread: incomplete TRLs

  1. #1
    User
    Join Date
    01-22-11.
    Posts
    40

    Default incomplete TRLs

    Hello,

    I am new to this forum, and I have a question. I recently inherited the development of a websiteand there is a problem with the URLs. To give a made up example using English characters, when the URL should be:

    mysite.org/page/subpage.html

    is comes up:

    mysite.org/subpage.html

    This happens everywhere in the site and I don't know how to change it.

    There does say in settings:

    Rewrite URL
    With this option you can make TYPOlight generate static URLs without "index.php" (e.g. alias.html instead of index.php/alias.html). This feature requires the Apache module mod_rewrite!

    But I can't untick the box, and I dont know if the Apache module mod_rewrite is added. Maybe it would be a start to add it, only I don't know how.

    Any help gratefully received.

    Best wishes, Andrei.

  2. #2
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    Sorry, TRL should be URL.

  3. #3
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: incomplete TRLs

    Hi, buddhayana.ru/going-forth.html is the standard behaviour of Contao (as in - you are already url re-writing, if you weren't the url would be buddhayana.ru/index.php/going-forth.html).
    To achieve what you want I believe you need to install and configure a module called "folderurl" (although I have never used this ... more info here
    http://www.contao.org/extension-list...040019.en.html
    OR your whole Contao installation would need to be in a folder buddhayana.ru/buddha/ rather than in buddhayana.ru/ (and you would need to set in your RewriteBase in your htaccess file to /buddha.

  4. #4
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    Thanks, that's exactly what I needed to know.

  5. #5
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    Only when I tried to install it I got the following error message:

    folderurl 1.4.1 stable 12
    Repair
    Failed installation, update/repair adviced.
    File installation/update log
    Install folderurl 1.4.1 stable build 12
    Cannot create file "system/tmp/Contao_folderurl_10040019_12.zip"
    /var/www/vhosts/buddhayana.ru/httpdocs/system/libraries/File.php[113]

  6. #6
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: incomplete TRLs

    What version of Contao is your install?
    You might need to run the system check tool for that version to check that all your file/folder permissions are ok.
    It sounds like your system/tmp folder isn't writable. The tool will tell you what permissions are required.
    You can get that here http://www.contao.org/configuring-th...tem-check-tool

  7. #7
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    TYPOlight webCMS 2.6.3

    (I did mean to include it in my last post and forgot, sorry).

    And following your link, the earliest version to find what permissions are required is for 2.6.8.0

  8. #8
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: incomplete TRLs

    yes, try that one and see... part of what it does is attempt to write a file to see if your system is writable.
    Folderurl is compatable with that Contao version according to its specs

  9. #9
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    All I get is a large amount of text and codes that's pretty incomprehensible.

    But the instructions did say:

    "Simply upload the file to the Contao root folder, open it in a web browser"

    and sorry to say I am not sure where the Contao root folder is.

  10. #10
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: incomplete TRLs

    thats the root where you put it :D , i had a look.
    Effectively its saying your hosting setup won't allow writing to the server unless you use what is called "Safe Mode Hack" (do a search on this).
    You also have folders of the wrong chmod setting, and missing files.

    Effectively any script that needs to write information can't - including the Extension Repository i think.
    You could try manually installing Folderurl, but it may need to write stuff - i don't know.

    Really you need to try safe mode hack, i've never had need of it so I can't advise sorry.
    You've got a bit of a learning curve ahead really if you want to change anything.

  11. #11
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    Infact, a friend installed the folderurl this time manually (downloaded the zip-file from contao, copied it in typolight modules, went through other typolight extension installation steps) and it is sitting in "extension manager" without the 2 error messages that were there, but isn't visible in "extension catalogue". And now when I try to re-instal it, I am asked for a "license key" (which is progress) but I don't have one .

    I have read about Safe Mode Hacks but haven't 'mastered' them yet. My friend had installed other extensions but got stuck with this one too. He is busy with other work at present and can't devote much time to this.

    I think working on the correct chmod settings and missing files is a good next step.

    In any case, many thanks for your help with this!!

  12. #12
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    Infact, "folerurl" is in there in "extension catalogue", my friend manager to get it in, but the page alias:

    heading/page

    is still gets an error message.

  13. #13
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    -

  14. #14
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    -

  15. #15
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: incomplete TRLs

    go to the yourdomain/typolight/install.php page, log in and check to see if the database reports as "up to date".
    Update it via the button there if it isn't.
    This needs to be done for any manual install.

    Also I think folderurl must be configured...???

  16. #16
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    mysite/typolight/install.php

    gave me an error message

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Although this page

    http://mysite.ru/typolight/main.php?do= ... e=database

    ie the extension manager said the databases are uptodate.

    I'll work on understanding what changes need to be made to the configuration.

  17. #17
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: incomplete TRLs

    So folderurl shows up in the extension manager? It should be good then.


    Heres what it says to do....
    You cannot see this module in backend or frontend. You will have to manually adjust the alias of every page to what you desire. Do NOT add a leading or trailing slash. The alias should be “company/team” for example
    Are all your page aliases buddha/alias? (Site Structure:: edit:: page alias)

  18. #18
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    If only life was that simple , changing the "page alias" brings up the following error message:

    Please enter a valid URL format and encode special characters!

    for an entry like:

    heading/page

  19. #19
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    here it is in extension catalogue:

    [folderurl] FolderURL
    Use Folder-like URLs in TYPOlight
    Version 1.4.1 stable Type Free
    Release date 22.05.2010 License LGPL
    Author andreas.schempp Category Plugin
    Total rating
    10.00 (3 votes)
    Popularity 1124/2615 (downloads/installs)

  20. #20
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: incomplete TRLs

    what type of page is it (next to alias ....page type) Regular?

  21. #21
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    They are always regular pages.

  22. #22
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: incomplete TRLs

    As far as I understand, there will be some settings for folderurl in System::Settings that you may need to set/adjust.
    Check to see.

  23. #23
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    You probably mean this:

    URL Keywords
    Please enter additional (comma separated) keywords the FolderURL Extension should detect as variables.

    And this would refer to the heading one wants to use?

    But when I add a word I want as a heading here, and save it, it is immediately gone when I look again, and trying

    home/page

    in page alias has the same error message as usual.

  24. #24
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: incomplete TRLs

    And this would refer to the heading one wants to use?
    I don't know sorry, i've never used this extension.

    I think that until you can get your installation fixed (by safe mode hack, or a new host) you're going to have troubles with everything you try to do.
    If you do change systems - maybe even updating to a later contao version, although make sure you back up both the files and the database first.

  25. #25
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: incomplete TRLs

    In any case, thanks for your help. I am working on getting the bugs fixed, or someone is going to look at it when they have some free time.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •