Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joomla 3.7 Update Error #15722

Closed
o0odicemano0o opened this issue May 1, 2017 · 9 comments
Closed

Joomla 3.7 Update Error #15722

o0odicemano0o opened this issue May 1, 2017 · 9 comments

Comments

@o0odicemano0o
Copy link

o0odicemano0o commented May 1, 2017

Can some one explain why my search bar is coding "COM_FINDER_SEARCH_NO_RESULTS_HEADING"

ALL OF MY ADMIN PANEL IS LIKE THIS TOO
screen shot 2017-05-01 at 16 40 21

@hacki65
Copy link
Contributor

hacki65 commented May 1, 2017

Which language do you use. Try to reinstall your main language.

@wojsmol
Copy link
Contributor

wojsmol commented May 1, 2017

@brianteeman
Copy link
Contributor

Closed as answered

@o0odicemano0o
Copy link
Author

@hacki65 I tried removing and reinstalling the language pack.. Still I'm seeing the issue.

@infograf768
Copy link
Member

Try this patch: #15620

@infograf768
Copy link
Member

and tell us if you have the issue also with en-GB or only the pack you try to install, and in this case which pack?

@o0odicemano0o
Copy link
Author

I'm only using the en-GB pack. Same issue with this pack.

@infograf768
Copy link
Member

Then it cetainly means your server does not accept parse_ini_file.
please test the patch proposed here #15620

diff --git a/libraries/joomla/language/language.php b/libraries/joomla/language/language.php
index 1eb40fb..9c98ad9 100644
--- a/libraries/joomla/language/language.php
+++ b/libraries/joomla/language/language.php
@@ -830,7 +830,21 @@ protected function parse($filename)
 			ini_set('track_errors', true);
 		}
 
-		$strings = @parse_ini_file($filename);
+		if (!function_exists('parse_ini_file'))
+		{
+			$contents = file_get_contents($filename);
+			$contents = str_replace('_QQ_', '"\""', $contents);
+			$strings = @parse_ini_string($contents);
+		}
+		else
+		{
+			$strings = @parse_ini_file($filename);
+		}
+
+		if (!is_array($strings))
+		{
+			$strings = array();
+		}
 
 		// Restore error tracking to what it was before.
 		if ($this->debug)
@@ -840,7 +854,7 @@ protected function parse($filename)
 			$this->debugFile($filename);
 		}
 
-		return is_array($strings) ? $strings : array();
+		return $strings;
 	}
  • means delete the line and do not let there the - sign
  • means add the line without the + sign

@o0odicemano0o
Copy link
Author

This is frustrating..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants