Hi, will be great if you can add here exactly the row 169
Jan
problem in the error.php
- Jan
- Phoca Hero
- Posts: 48378
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem in the error.php
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48378
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem in the error.php
Hi, as there are no line numbers, please paste only the row 171 so I can check it
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 25 Dec 2009, 22:06
Re: problem in the error.php
Similar problem. Arose after upgrading Joomla 1.5.хх . The line shows the error in "if ($code == '404') {"...
-
- Phoca Newbie
- Posts: 4
- Joined: 16 Oct 2008, 17:54
Re: problem in the error.php
Here is my code. The difference in my code from the OP is line 170 has the {. I am also getting the error, but with only one website on my server.
Code: Select all
169 function & raiseError($code, $msg, $info = null)
170 {
171 <? php
172 //PHOCAEDIT
173 if ($code == '404') {
174 include_once( JPATH_ADMINISTRATOR.DS.'components'.DS.
175 'com_phocasef'.DS.'helpers'.DS.'phocasef.php' );
176 PhocaSefHelper::createUrlEntry();
177 }
178 //PHOCAEDIT
179 ?>
180 $reference = & JError::raise(E_ERROR, $code, $msg, $info, true);
181 return $reference;
182 }
- Jan
- Phoca Hero
- Posts: 48378
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem in the error.php
Hi, you cannot run the php parser in php again,
remove:
<? php 171
?> 179
Did you read the guide:
https://www.phoca.cz/documents/42-phoca- ... stallation
... Copy the code which begins with //Phocaedit and ends with //Phocaedit (don't copy and paste the php beginning and ending tags) ...
remove:
<? php 171
?> 179
Did you read the guide:
https://www.phoca.cz/documents/42-phoca- ... stallation
... Copy the code which begins with //Phocaedit and ends with //Phocaedit (don't copy and paste the php beginning and ending tags) ...
If you find Phoca extensions useful, please support the project