Jump to content

order?step=1 - Server Error


Recommended Posts

Hey, i just tested my site after a lot of modifications,

And in the order process (the 5 stage type) , When i press Next after the summary,

i get an:

 

Server error

 

The website encountered an error while retrieving https://www.URL.com/order?step=1. It may be down for maintenance or configured incorrectly.

Here are some suggestions:

  • Reload this webpage later.

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

 

I tried being a guest and registered account, doesn't matter,

If i change the address bar to "https://URL.com/order?step=2"

it continues like nothing happened.

 

Which file is not alright?

How can i find what's the cause to the error? thanks!

Link to comment
Share on other sites

Thanks, I found out that if i remove this part of the code it works fine (as far as i checked)

What does that string do and why does it cause that error? thanks!

 

It's in "tools/js_minify/jsmin.php"

 

					if (ord($this->a) <= self::ORD_LF) {
						throw new JSMin_UnterminatedStringException(
							"JSMin: Unterminated String at byte "
							. $this->inputIndex . ": {$str}");
					}

Edited by argamanza (see edit history)
Link to comment
Share on other sites

Can anyone help me with this? Pretty urgent, Thank you!

Here's the error that shows on the web page:

 

Fatal error: Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated
String at byte 904: "' in /home/USER/public_html/tools/js_minify/jsmin.php:192 Stack trace: #0
/home/USER/public_html/tools/js_minify/jsmin.php(143): JSMin->action(1) #1
/home/USER/public_html/tools/js_minify/jsmin.php(83): JSMin->min() #2
/home/USER/public_html/classes/Media.php(134): JSMin::minify('// ???var order...') #3
/home/USER/public_html/classes/Media.php(121): MediaCore::packJS('// ???var order...') #4 [internal
function]: MediaCore::packJSinHTMLpregCallback(Array) #5
/home/USER/public_html/classes/Media.php(104): preg_replace_callback('/\s*(<script\b[...', Array, '<script
type="t...') #6 /home/USER/public_html/config/smarty.config.inc.php(148): MediaCore::packJSinHTML('<script
type="t...') #7 /home/USER/public_html/tools/smarty/sysplugins/smarty_internal_filter_handler.php(60):
smartyPackJSinHTML('<script type="t...', Object(Smarty_Internal_Template)) #8 /home/USER/public_htm in
/home/USER/public_html/tools/js_minify/jsmin.php on line 192

 

I've also noticed that if i disable

 

Compress inline JavaScript in HTML after "smarty compile" execution

 

I can access the 2nd and 3rd steps of

check out.

Edited by argamanza (see edit history)
Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...