Page 1 of 1

Strict Standards Appearing on page

Posted: 05 Mar 2012, 17:39
by roghan
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?!

Re: Strict Standards Appearing on page

Posted: 06 Mar 2012, 10:50
by SimonG
Hi roghan,

you can have a look on this topics :

viewtopic.php?f=9&t=12872

viewtopic.php?f=1&t=17792

Re: Strict Standards Appearing on page

Posted: 06 Mar 2012, 16:57
by roghan
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.

Re: Strict Standards Appearing on page

Posted: 06 Mar 2012, 17:17
by SimonG
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