Strict Standards Appearing on page

Phoca Gallery - image gallery extension
roghan
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Mar 2012, 17:31

Strict Standards Appearing on page

Post by roghan » 05 Mar 2012, 17:39

Hello,
All of these random lines of Strict Standards appear on my page when I create an article. These also appeared when I installed the component.

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 52

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 54

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 56

Strict Standards: Non-static method PhocaGalleryPath::getPath() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 57

Strict Standards: Non-static method PhocaGalleryPath::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\administrator\components\com_phocagallery\libraries\phocagallery\path\path.php on line 36

Strict Standards: Non-static method PhocaGalleryLibrary::getLibrary() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 64

Strict Standards: Non-static method PhocaGalleryLibrary::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\administrator\components\com_phocagallery\libraries\phocagallery\library\library.php on line 44

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 64

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 52

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 54

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 56

Strict Standards: Non-static method PhocaGalleryPath::getPath() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 57

Strict Standards: Non-static method PhocaGalleryPath::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\administrator\components\com_phocagallery\libraries\phocagallery\path\path.php on line 36

Strict Standards: Non-static method PhocaGalleryLibrary::getLibrary() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 64

Strict Standards: Non-static method PhocaGalleryLibrary::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\administrator\components\com_phocagallery\libraries\phocagallery\library\library.php on line 44

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 64

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 52

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 54

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 56

Strict Standards: Non-static method PhocaGalleryPath::getPath() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 57

Strict Standards: Non-static method PhocaGalleryPath::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\administrator\components\com_phocagallery\libraries\phocagallery\path\path.php on line 36

Strict Standards: Non-static method PhocaGalleryLibrary::getLibrary() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\plugins\content\phocagallery\phocagallery.php on line 64

Strict Standards: Non-static method PhocaGalleryLibrary::getInstance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\joomla25\administrator\components\com_phocagallery\libraries\phocagallery\library\library.php on line 44

How can I get all of these removed on the pages?!

SimonG
Phoca Member
Phoca Member
Posts: 10
Joined: 01 Dec 2011, 16:35

Re: Strict Standards Appearing on page

Post by SimonG » 06 Mar 2012, 10:50

Hi roghan,

you can have a look on this topics :

viewtopic.php?f=9&t=12872

viewtopic.php?f=1&t=17792

roghan
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Mar 2012, 17:31

Re: Strict Standards Appearing on page

Post by roghan » 06 Mar 2012, 16:57

I Did look at these documents. When I go to edit the file in Phocca Gallery or Joomla! they want to open in IE, but they will not open. Even if you click Open or Save and then press open. Nothing happens. My xampp file will open but that didn't change anything.

SimonG
Phoca Member
Phoca Member
Posts: 10
Joined: 01 Dec 2011, 16:35

Re: Strict Standards Appearing on page

Post by SimonG » 06 Mar 2012, 17:17

You have to open the fil php.ini of Xamp and change this line :
error_reporting = E_ALL | E_STRICT
by this one :
error_reporting = E_ALL & ~E_NOTICE

Post Reply