pablo222

Home \

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: adding JFactory::getSession(); results in white page #3010
    pablo222
    Participant

    Yes, my last problem was a one character typo I missed. All good! Many thanks.

    in reply to: adding JFactory::getSession(); results in white page #3007
    pablo222
    Participant

    Wait a minute, I think I missed something, let me check something out.

    • This reply was modified 5 years, 6 months ago by pablo222.
    in reply to: adding JFactory::getSession(); results in white page #3006
    pablo222
    Participant

    I did add the same line “namespace ValorApps\Module\EasyFileUploader\Site\Helper;” to the php code section in my joomla article, and now I get
    Error: 0 – syntax error, unexpected ‘ValorApps’ (T_STRING), expecting \\ (T_NS_SEPARATOR)

    Thanks again.

    in reply to: adding JFactory::getSession(); results in white page #3004
    pablo222
    Participant

    Thank you Michael – that did the trick on finding JFactory library. However, now it seems the session variables in my Joomla article are not making it to EasyFileUploaderHelper.php. Most likely the namespace issue – I am a long time developer but new to Joomla, done some php but new to namespace issue – what would I do with the Joomla article php code so they are using the same session variables?

    Thanks again.

    in reply to: adding JFactory::getSession(); results in white page #3000
    pablo222
    Participant

    Sorry, thought I posted this answer previously but it’s not showing up. Set Joomla error reporting to maximum. The page shows:

    Error: 0 – Class ‘ValorApps\Module\EasyFileUploader\Site\Helper\JFactory’ not found

Viewing 5 posts - 1 through 5 (of 5 total)