Member
Member
tangorn   2016-07-07, 12:24
#1

Hi, I have serious problems with my installation of zenphoto. Many pages shows up with 502 error. I have consulted it with my provider and we have done everything what was possible to eliminate this problem (reinstall, PHP memory limit etc). My other installations (WP, Drupal) have no troubles. Only zenphoto makes me sad. After all what have been done provider tells me that there may be a problem in rewrite functions of zenphoto. Is it possible?

Administrator
Administrator
acrylian   2016-07-07, 15:16
#2

Possible is a lot but hard to tell without some more info. Did you check your htaccess file being the correct one? modrewrite really enabled on Zenphoto (assuming the server has it)? Also which pages exactly cause the issue? Maybe you can post an anonymized log entry? Also always help ful is a link to the site in question.

Member
Member
tangorn   2016-07-07, 18:10
#3

site is www.jlfoto.sk
htaccess was only modified with the four lines down because of advice from provider

IndexIgnore *

RewriteEngine On

RewriteBase /zenphoto

RewriteCond %{REQUEST_URI} !(/$|.)
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]

RewriteRule ^.*/?$ index.php [L,QSA]

php_flag xcache.cacher Off
php_flag xcache.size 0
php_flag xcache.stat Off
php_value opcache.enable 0

php memory limit is max (256 MB) and max_execution_time is 600s
using apache 2.4 php 5.6.5
mod_rewrite is enabled in zenphoto and on server
sites with error are random... some work fine (backend, frontend) and after while there is 502
security, error or debug log?

Administrator
Administrator
acrylian   2016-07-07, 19:08
#4

Generally I would suggest to add such config line on top before all ZP stuff but that shouldn't matter.

So you say all kind of pages have this error? We need something we can realyl reproduce to find out what it might be.

Quote:security, error or debug log?
Any entry possibly related to the error and pages might be helpful.

Member
Member
tangorn   2016-07-08, 05:22
#5

in zenphoto logs is nothing about this. but in hosting logs is this witch shows some lines with error page loaded
jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:11:05 +0200] "GET /zenphoto/zp-core/admin-options.php?page=options&tab=general HTTP/1.1" 502 2059 "http://jlfoto.sk/zenphoto/zp-core/admin-users.php?page=users&tab=users" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 1.437 - 10.10.35.21:105 : unix:/var/run/php-fpm-errorpages.sock 1.436 : 0.001

jlfoto.sk 141.8.142.13 - - [08/Jul/2016:07:11:26 +0200] "GET /robots.txt HTTP/1.1" 404 208 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 0.005 MISS 10.10.35.21:105 0.005

www.jlfoto.sk 141.8.142.87 - - [08/Jul/2016:07:11:27 +0200] "GET /robots.txt HTTP/1.1" 404 208 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 0.008 MISS 10.10.35.21:105 0.008

jlfoto.sk 141.8.141.132 - - [08/Jul/2016:07:11:30 +0200] "GET / HTTP/1.1" 301 234 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 0.005 MISS 10.10.35.21:105 0.005

www.jlfoto.sk 141.8.142.87 - - [08/Jul/2016:07:11:31 +0200] "GET / HTTP/1.1" 301 238 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 0.005 MISS 10.10.35.21:105 0.005

jlfoto.sk 141.8.143.175 - - [08/Jul/2016:07:11:34 +0200] "GET / HTTP/1.1" 301 234 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 0.005 MISS 10.10.35.21:105 0.005

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:11:36 +0200] "GET /zenphoto/zp-core/admin.php HTTP/1.1" 200 7123 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 1.624 MISS 10.10.35.21:105 1.624

www.jlfoto.sk 93.158.152.7 - - [08/Jul/2016:07:11:37 +0200] "GET /zenphoto/ HTTP/1.1" 200 6415 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 2.092 MISS 10.10.35.21:105 2.092

www.jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:11:38 +0200] "GET /zenphoto/zp-core/zp-extensions/tiny_mce/plugins/emotions/img/smiley-smile.gif HTTP/1.1" 404 13295 "http://jlfoto.sk/zenphoto/zp-core/admin.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 1.803 MISS 10.10.35.21:105 1.803

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:11:40 +0200] "GET /zenphoto/zp-core/admin-logs.php?page=logs HTTP/1.1" 200 3031 "http://jlfoto.sk/zenphoto/zp-core/admin.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.561 MISS 10.10.35.21:105 0.561

jlfoto.sk 5.255.251.138 - - [08/Jul/2016:07:11:40 +0200] "GET / HTTP/1.1" 301 234 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 0.005 MISS 10.10.35.21:105 0.005

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:11:42 +0200] "GET /zenphoto/zp-core/admin-logs.php?page=logs&tab=setup HTTP/1.1" 200 5661 "http://jlfoto.sk/zenphoto/zp-core/admin-logs.php?page=logs" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.675 MISS 10.10.35.21:105 0.675

jlfoto.sk 141.8.141.140 - - [08/Jul/2016:07:11:47 +0200] "GET /zenphoto/ HTTP/1.1" 502 2059 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 2.062 - 10.10.35.21:105 : unix:/var/run/php-fpm-errorpages.sock 2.060 : 0.002

jlfoto.sk 100.43.91.15 - - [08/Jul/2016:07:11:50 +0200] "GET /zenphoto/ HTTP/1.1" 502 2059 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 2.229 - 10.10.35.21:105 : unix:/var/run/php-fpm-errorpages.sock 2.228 : 0.001

jlfoto.sk 141.8.143.25 - - [08/Jul/2016:07:11:53 +0200] "GET /zenphoto/ HTTP/1.1" 200 6417 "-" "Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)" 1.411 MISS 10.10.35.21:105 1.370

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:12:40 +0200] "GET /zenphoto/zp-core/admin-logs.php?page=logs&tab=security HTTP/1.1" 200 3031 "http://jlfoto.sk/zenphoto/zp-core/admin-logs.php?page=logs&tab=setup" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.268 MISS 10.10.35.21:105 0.268

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:12:44 +0200] "GET /zenphoto/zp-core/zp-extensions/rewriteTokens/admin_tab.php?page=tokens&tab=tokeny HTTP/1.1" 502 2059 "http://jlfoto.sk/zenphoto/zp-core/admin-logs.php?page=logs&tab=security" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.117 - 10.10.35.21:105 : unix:/var/run/php-fpm-errorpages.sock 0.117 : 0.000

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:15:48 +0200] "GET /zenphoto/zp-core/admin.php HTTP/1.1" 200 7123 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 2.003 BYPASS 10.10.35.21:105 2.003

www.jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:15:50 +0200] "GET /zenphoto/zp-core/zp-extensions/tiny_mce/plugins/emotions/img/smiley-smile.gif HTTP/1.1" 404 13303 "http://jlfoto.sk/zenphoto/zp-core/admin.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 1.776 BYPASS 10.10.35.21:105 1.776

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:15:51 +0200] "GET /zenphoto/zp-core/zp-extensions/rewriteTokens/admin_tab.php?page=tokens&tab=tokeny HTTP/1.1" 200 2611 "http://jlfoto.sk/zenphoto/zp-core/admin.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.692 BYPASS 10.10.35.21:105 0.692

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:15:56 +0200] "GET /zenphoto/zp-core/zp-extensions/deprecated-functions/admin_tab.php?page=deprecated&tab=zastaran%C3%A9 HTTP/1.1" 200 3958 "http://jlfoto.sk/zenphoto/zp-core/zp-extensions/rewriteTokens/admin_tab.php?page=tokens&tab=tokeny" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.509 BYPASS 10.10.35.21:105 0.509

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:15:58 +0200] "GET /zenphoto/zp-core/zp-extensions/comment_form/admin-comments.php?page=comments&tab=koment%C3%A1re HTTP/1.1" 200 4888 "http://jlfoto.sk/zenphoto/zp-core/zp-extensions/deprecated-functions/admin_tab.php?page=deprecated&tab=zastaran%C3%A9" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.666 BYPASS 10.10.35.21:105 0.666

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:01 +0200] "GET /zenphoto/zp-core/admin-users.php?page=users&tab=users HTTP/1.1" 200 70110 "http://jlfoto.sk/zenphoto/zp-core/zp-extensions/comment_form/admin-comments.php?page=comments&tab=koment%C3%A1re" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.691 BYPASS 10.10.35.21:105 0.673

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:03 +0200] "GET /zenphoto/zp-core/admin-options.php?page=options&tab=general HTTP/1.1" 200 14274 "http://jlfoto.sk/zenphoto/zp-core/admin-users.php?page=users&tab=users" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.305 BYPASS 10.10.35.21:105 0.305

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/zp-core/admin-themes.php HTTP/1.1" 200 5514 "http://jlfoto.sk/zenphoto/zp-core/admin-options.php?page=options&tab=general" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.510 BYPASS 10.10.35.21:105 0.510

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/themes/basic/theme.png HTTP/1.1" 200 7924 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.018 BYPASS 10.10.35.21:105 0.018

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/zp-core/images/page_white_copy.png HTTP/1.1" 200 309 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.013 BYPASS 10.10.35.21:105 0.013

jlfoto.sk 207.46.13.12 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/cache/Vanoce-2012/Vanoce2012_013_mini_630.jpg HTTP/1.1" 200 213169 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" 0.555 BYPASS 10.10.35.21:105 0.055

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/themes/effervescence_plus/theme.jpg HTTP/1.1" 200 12477 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.019 BYPASS 10.10.35.21:105 0.019

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/themes/libratus/theme.png HTTP/1.1" 200 59390 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.008 BYPASS 10.10.35.21:105 0.008

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/themes/garland/theme.png HTTP/1.1" 200 18772 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.021 BYPASS 10.10.35.21:105 0.021

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/themes/zenpage/theme.png HTTP/1.1" 200 18530 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.015 BYPASS 10.10.35.21:105 0.015

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/themes/zpbase/theme.png HTTP/1.1" 200 25898 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.016 BYPASS 10.10.35.21:105 0.016

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/themes/zpmobile/theme.png HTTP/1.1" 200 32069 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.020 BYPASS 10.10.35.21:105 0.020

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:05 +0200] "GET /zenphoto/themes/zpskeleton/theme.png HTTP/1.1" 200 24068 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.026 BYPASS 10.10.35.21:105 0.026

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:07 +0200] "GET /zenphoto/zp-core/admin-plugins.php HTTP/1.1" 200 7079 "http://jlfoto.sk/zenphoto/zp-core/admin-themes.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.617 BYPASS 10.10.35.21:105 0.617

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:10 +0200] "GET /zenphoto/zp-core/admin-logs.php?page=logs HTTP/1.1" 502 2059 "http://jlfoto.sk/zenphoto/zp-core/admin-plugins.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.674 - 10.10.35.21:105 : unix:/var/run/php-fpm-errorpages.sock 0.669 : 0.005

if it helps i can create for you login to my server and you can look there for errors.

Member
Member
tangorn   2016-07-08, 05:26
#6

zenphoto logs have nothing related to this error. only information about this is in hosting log

jlfoto.sk 89.173.6.157 - - [08/Jul/2016:07:16:10 +0200] "GET /zenphoto/zp-core/admin-logs.php?page=logs HTTP/1.1" 502 2059 "http://jlfoto.sk/zenphoto/zp-core/admin-plugins.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" 0.674 - 10.10.35.21:105 : unix:/var/run/php-fpm-errorpages.sock 0.669 : 0.005

if it can help I can make you an account to my server and you can look there for possible reasons.

Administrator
Administrator
acrylian   2016-07-08, 09:05
#7

That seems to be the access server log. Is there a security or error log on the server?

A 502 bad gateway is generally a server internal problem due to some configuration. I am sadly not a server admin. From my experience I never saw this on any standard shared host I installed Zenphoto on…

Can you try a simpler theme maybe (Zenpage or basic for example)? It might be that the theme I am not that famiiar with does a few things that are too heavy for the server for some reason and therefore results in that error. Just to rule out that is is just the theme…

You could also try if using Zenphoto without modrewrite makes any difference.

Member
Member
tangorn   2016-07-08, 15:37
#8

I have turned off modrewrite, but the problem didnt end. Dont know if there is some time needed to accept from server. different theme will be next step. but for now weekend starts and good bye inet I let you know if something changes after my next steps

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.