valendesigns / option-tree

Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
GNU General Public License v2.0
609 stars 182 forks source link

Option Tree experience with nginx server! #337

Closed jetonr closed 10 years ago

jetonr commented 10 years ago

I just recieved an email from a customer complaining that the backend ( option-tree ) takes about 30 seconds to save options and it causes errors ( see bellow ). I tried it myself but couldn't reproduce the same errors!

Did anyone had the same experience with nginx server and option tree?!

2014/05/20 10:07:51 [error] 14538#0: *6241032 FastCGI sent in stderr: "PHP message: Error parsing XML file: Entity 'raquo' not defined

PHP message: Error parsing XML file: Entity 'raquo' not defined

PHP message: Error parsing XML file: Opening and ending tag mismatch: meta line 40 and head

PHP message: Error parsing XML file: Opening and ending tag mismatch: img line 69 and a

PHP message: Error parsing XML file: Opening and ending tag mismatch: img line 69 and div

PHP message: Error parsing XML file: Opening and ending tag mismatch: img line 74 and a

PHP message: Error parsing XML file: Opening and ending tag mismatch: a line 74 and div

PHP message: Error parsing XML file: Opening and ending tag mismatch: a line 68 and header

PHP message: Error parsing XML file: Specification mandate value for attribute for

PHP message: Error parsing XML file: attributes construct error

PHP message: Error parsing XML file: Couldn't find end of Start Tag label line 85

PHP message: Error parsing XML file: Opening and ending tag mismatch: input line 86 and label

PHP message: Error parsing XML file: Entity 'rsquo' not defined

PHP message: Error parsing XML file: Entity 'rsquo' not defined

PHP message: Error parsing XML file: xmlParseEntityRef: no name

PHP message: Error parsing XML file: xmlParseEntityRef: no name

PHP message: Error parsing XML file: xmlParseEntityRef: no name

PHP message: Error parsing XML file: xmlParseEntityRef: no name

PHP message: Error parsing XML file: Entity 'hellip' not defined

PHP message: Error parsing XML file: Opening and ending tag mismatch: img line 285 and a

PHP message: Error parsing XML file: Opening and ending tag mismatch: a line 285 and div

PHP message: Error parsing XML file: Opening and ending tag mismatch: div line 285 and li

PHP message: Error parsing XML file: Specification mandate value for attribute allowfullscreen

PHP message: Error parsing XML file: Opening and ending tag mismatch: input line 289 and form

PHP message: Error parsing XML file: Opening and ending ta
2014/05/20 10:07:55 [error] 14538#0: *6241032 FastCGI sent in stderr: "PHP message: Error parsing XML file: Entity 'raquo' not defined

PHP message: Error parsing XML file: Entity 'raquo' not defined

PHP message: Error parsing XML file: Opening and ending tag mismatch: meta line 40 and head

PHP message: Error parsing XML file: Opening and ending tag mismatch: img line 69 and a

PHP message: Error parsing XML file: Opening and ending tag mismatch: img line 69 and div

PHP message: Error parsing XML file: Opening and ending tag mismatch: img line 74 and a

PHP message: Error parsing XML file: Opening and ending tag mismatch: a line 74 and div

PHP message: Error parsing XML file: Opening and ending tag mismatch: a line 68 and header

PHP message: Error parsing XML file: Specification mandate value for attribute for

PHP message: Error parsing XML file: attributes construct error

PHP message: Error parsing XML file: Couldn't find end of Start Tag label line 85

PHP message: Error parsing XML file: Opening and ending tag mismatch: input line 86 and label

PHP message: Error parsing XML file: Entity 'rsquo' not defined

PHP message: Error parsing XML file: Entity 'rsquo' not defined

PHP message: Error parsing XML file: xmlParseEntityRef: no name

PHP message: Error parsing XML file: xmlParseEntityRef: no name

PHP message: Error parsing XML file: xmlParseEntityRef: no name

PHP message: Error parsing XML file: xmlParseEntityRef: no name

PHP message: Error parsing XML file: Entity 'hellip' not defined

PHP message: Error parsing XML file: Opening and ending tag mismatch: img line 285 and a

PHP message: Error parsing XML file: Opening and ending tag mismatch: a line 285 and div

PHP message: Error parsing XML file: Opening and ending tag mismatch: div line 285 and li

PHP message: Error parsing XML file: Specification mandate value for attribute allowfullscreen

PHP message: Error parsing XML file: Opening and ending tag mismatch: input line 289 and form

PHP message: Error parsing XML file: Opening and ending ta
2014/05/20 10:07:55 [error] 14538#0: *6241032 FastCGI sent in stderr: "PHP message: PHP Warning:  Illegal string offset 'background-size' in /home/htdocs/wp-content/themes/orbitnews/option-tree/includes/ot-functions-option-types.php on line 202
PHP message: PHP Warning:  Illegal string offset 'background-size' in /home/htdocs/wp-content/themes/orbitnews/option-tree/includes/ot-functions-option-types.php on line 202
PHP message: PHP Warning:  Illegal string offset 'background-size' in /home//htdocs/wp-content/themes/orbitnews/option-tree/incl" while reading upstream, client: 85.222.178.252, server: www.domain.com, request: "GET /wp-admin/themes.php?page=ot-theme-options HTTP/1.1", upstream: "fastcgi://10.3.2.50:8833", host: "www.domain.com", referrer: "http://www.domain.com/wp-admin/themes.php"
2014/05/20 10:07:55 [error] 14538#0: *6241032 FastCGI sent in stderr: "udes/ot-functions-option-types.php on line 202
PHP message: PHP Warning:  Illegal string offset 'background-size' in /home/htdocs/wp-content/themes/orbitnews/option-tree/includes/ot-functions-option-types.php on line 202" while reading upstream, client: 85.222.178.252, server: www.domain.com, request: "GET /wp-admin/themes.php?page=ot-theme-options HTTP/1.1", upstream: "fastcgi://10.3.2.50:8833", host: "www.domain.com", referrer: "http://www.domain.com/wp-admin/themes.php"
valendesigns commented 10 years ago

Is this issue happening when importing the Theme Options via the old deprecated XML files?

valendesigns commented 10 years ago

I've fixed the PHP Warning on line 202 in the hotfix-2.4.2 branch. Hopefully that helps. Please ask them to test that branch out so we can get to the bottom of it. Cheers!

jetonr commented 10 years ago

Thank you Derek, I will update the option tree and ask them to do some testing! I myself couldn't reproduce any of the errors mentioned above ( even with debug mode true ). The log was error free but I will report back if anything happens!

jetonr commented 10 years ago

@valendesigns please close the issue the errors aren't caused by option-tree at all! Spent so much energy to find the problem!

valendesigns commented 10 years ago

@jetonr No worries. Cheers!