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)
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?
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
Author
Posts
Viewing 5 posts - 1 through 5 (of 5 total)
This forum uses cookies to give you the best possible experience. Using this forum means that you agree to our use of cookies. Please review our Privacy Policy for further details. Review our Policy