Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[epf-dev] Error message: "undefined method `url' for nil:NilClass"

Hi everyone,
 
I installed the EPF wiki on a ubuntu machine. After creating a wiki I tried to open it but I always get an error-message. I can see the page of the wiki but at the position where the edit-options normally are is just a loading-animation. The error-message is "undefined method `url' for nil:NilClass" (On line #3 of pages/_header.rhtml).
 
This happens on every page I try to open. To make sure that I did no mistake while installing the wiki I already reinstalled it.
 
------------------------------------------------------------------------------------------------------------------
Line #3 is the following:
    <%= menulink_to 'View', @page.url %>
------------------------------------------------------------------------------------------------------------------
Other maybe useful information in the log-file:
    Params
    format
    --- js
    url
    --- https://hostname/wikis/R15/AV50/deliveryprocesses/Phasen_6A194A4.html?nodeId=e50aa910
    id
    --- _wikis_R15_AV50_deliveryprocesses_Phasen_6A194A4_html
------------------------------------------------------------------------------------------------------------------
 
I assume that @page.url is an environment variable which is set to null but I don't know why. The EPF wiki itself is installed in the root-path so it should be a problem with subdirectories which I found on the mailing-list.
Does anybody has an idea what that can be or how I can analyse it?
 
Thanks in advance!
 
Christian Schach

Back to the top