Hi,
Just trying to update to 1.2.7 but having this message:
"PHP Fatal error: Call to undefined function gettext() in C:\webspace\hostings\Postoffices\carlosbatallas.es\hosting\www\Fotos\zp-core\lib-GD.php on line 16"
I went back to 126rc2 and worked flawlessly. Now, I made a fresh installation and again I got the same message. Tried to change attrib to 0755 but somehow is not working (via ftp filezilla, windows server, php 5.2.5) i get "500 'SITE CHMOD 755 zp-core': command not understood". No gettext() support from my hosting.
Besides, in my page, cannot see the photos.
Not being an advanced user... can anyone give me a tip? thx a lot
Comments
1) I run setup and get these (among others) messages:
---------------------
PHP version 5.2.5
PHP Safe Mode
PHP magic_quotes_gpc
Graphics support: PHP GD library bundled (2.0.34 compatible)
PHP gettext() support [is not present]
PHP setlocale() failed
PHP mbstring package [is not present]
--------------------------
I log in and click GO. Then I arrive to a page saying:
About to update tables...
Done with table update
You can now View your gallery or administer.
When clicking gallery, I go to the mail page, but no photos show up.
When clicking administer, I get the other message:
"PHP Fatal error: Call to undefined function gettext() in C:\webspace\hostings\Postoffices\carlosbatallas.es\hosting\www\Fotos\zp-core\lib-GD.php on line 16"
The weird thing is that re-installing 1.2.6 RC 2 things are allright. No problem at all. What could have change?
Best,
did install the nightly build. Now, when finishing and going to the admin page, it ask me again to log in. Then it change to a secure conexion and my hosting do not recognise the path:
"La página web de https://carlosbatallas.es/Fotos/zp-core/admin.php# puede estar temporalmente inactiva o tal vez se haya trasladado definitivamente a una nueva dirección web."
It is a httpS address... sorry to bother you so much, but any idea?
thanks
What kind of WEB server software are you running?
I can't log in with this address. I got a "Internet Explorer cannot display the webpage" and the address is changing to "http://carlosbatallas.es/Fotos/zp-core/admin.php?#". In Chrome, the same as before, it is going to a Secure connexion and the hosting refuses as it is asking for a httpS.
The hosting web server is running windows.
Funny, the 1.2.6 RC2 works perfectly, I reinstalled it yesterday, delete the files and folders, and installed the 1.2.7 and again the same problem. I normally use Chrome, but I did try with Firefox and IE, in the case of but to no avail.
Thanks
Well, it is not working Now, it just jump to the root address in a httpS page and cannot get into. Say I input: http://carlosbatallas.es/fotos/zp-core/setup.php, then the connexion goes to this address: https://carlosbatallas.es/ and the error message says: "Error 102 (net::ERR_CONNECTION_REFUSED): Error unknown". I am using Chrome. Thanks a lot for your help.
At the end of `functions-basic.php` in the nightly build there is a function named `secureServer()`. Please add the following line to it just befor the first `if` statement.
`debugLogArray('$_SERVER', $_SERVER);return false;`
Then run your site. This should make the admin accessable. Look at the log tab for the debug log and tell me what the contents of the `$_SERVER` array is.
Best, of course, to get the result form a failing instance.
$_SERVER => ( ALLUSERSPROFILE => C:\Documents and Settings\All Users, APP_POOL_ID => DefaultAppPool,
ClusterLog => C:\WINDOWS\Cluster\cluster.log, CommonProgramFiles => C:\Program Files\Common Files,
COMPUTERNAME => DW21, ComSpec => C:\WINDOWS\system32\cmd.exe, FP_NO_HOST_CHECK => NO,
MIBDIRS => \mibs, NUMBER_OF_PROCESSORS => 4, OS => Windows_NT, Path => C:\Program Files\Mail Enable\BIN;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\comandos;C:\Program Files\WinRAR;C:\Program Files\Resource Kit;C:\Program Files\Quest Software\Big Brother BTF\BBNT\1.08d\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0,
PATHEXT => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.VBS;.PSC1;.PSC1,
PROCESSOR_ARCHITECTURE => x86, PROCESSOR_IDENTIFIER => x86 Family 6 Model 15 Stepping 11, GenuineIntel,
PROCESSOR_LEVEL => 6, PROCESSOR_REVISION => 0f0b, ProgramFiles => C:\Program Files,
PSModulePath => C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\, SystemDrive => C:,
SystemRoot => C:\WINDOWS, TEMP => C:\WINDOWS\TEMP, TMP => C:\WINDOWS\TEMP,
USERPROFILE => C:\Documents and Settings\Default User, windir => C:\WINDOWS,
HTTP_CACHE_CONTROL => max-age=0, HTTP_CONNECTION => keep-alive, HTTP_ACCEPT => application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5,
HTTP_ACCEPT_CHARSET => ISO-8859-1,utf-8;q=0.7,*;q=0.3, HTTP_ACCEPT_LANGUAGE => es-ES,es;q=0.8,
HTTP_COOKIE => zenphoto_ssl=needed; __utmz=74766208.1261014564.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=74766208.730368576.1261014564.1261014564.1261014564.1; __unam=b9229fa-1259a530bb8-16bf3f42-4,
HTTP_HOST => carlosbatallas.es, HTTP_USER_AGENT => Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0,
HTTP_X_MCPROXYFILTER => *****************, AUTH_TYPE => , AUTH_PASSWORD => ,
AUTH_USER => , CERT_COOKIE => , CERT_FLAGS => , CERT_ISSUER => , CERT_SERIALNUMBER => ,
CERT_SUBJECT => , CONTENT_LENGTH => 0, CONTENT_TYPE => , GATEWAY_INTERFACE => CGI/1.1,
HTTPS => off, HTTPS_KEYSIZE => , HTTPS_SECRETKEYSIZE => , HTTPS_SERVER_ISSUER => ,
HTTPS_SERVER_SUBJECT => , INSTANCE_ID => 92, LOCAL_ADDR => 82.98.144.68,
LOGON_USER => , PATH_TRANSLATED => C:\webspace\hostings\Postoffices\carlosbatallas.es\hosting\www\Fotos\zp-core\admin.php,
QUERY_STRING => , REMOTE_ADDR => 190.148.208.209, REMOTE_HOST => 190.148.208.209,
REMOTE_USER => , REQUEST_METHOD => GET, SCRIPT_NAME => /Fotos/zp-core/admin.php,
SERVER_NAME => carlosbatallas.es, SERVER_PORT => 80, SERVER_PORT_SECURE => 0,
SERVER_PROTOCOL => HTTP/1.1, SERVER_SOFTWARE => Microsoft-IIS/6.0, UNMAPPED_REMOTE_USER => ,
ORIG_PATH_INFO => /Fotos/zp-core/admin.php, SCRIPT_FILENAME => C:\webspace\hostings\Postoffices\carlosbatallas.es\hosting\www\Fotos\zp-core\admin.php,
PHP_SELF => /Fotos/zp-core/admin.php, REQUEST_TIME => 1261094712 )
$_SERVER => ( ALLUSERSPROFILE => C:\Documents and Settings\All Users, APP_POOL_ID => DefaultAppPool,
ClusterLog => C:\WINDOWS\Cluster\cluster.log, CommonProgramFiles => C:\Program Files\Common Files,
COMPUTERNAME => DW21, ComSpec => C:\WINDOWS\system32\cmd.exe, FP_NO_HOST_CHECK => NO,
MIBDIRS => \mibs, NUMBER_OF_PROCESSORS => 4, OS => Windows_NT, Path => C:\Program Files\Mail Enable\BIN;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\comandos;C:\Program Files\WinRAR;C:\Program Files\Resource Kit;C:\Program Files\Quest Software\Big Brother BTF\BBNT\1.08d\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0,
PATHEXT => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.VBS;.PSC1;.PSC1,
PROCESSOR_ARCHITECTURE => x86, PROCESSOR_IDENTIFIER => x86 Family 6 Model 15 Stepping 11, GenuineIntel,
PROCESSOR_LEVEL => 6, PROCESSOR_REVISION => 0f0b, ProgramFiles => C:\Program Files,
PSModulePath => C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\, SystemDrive => C:,
SystemRoot => C:\WINDOWS, TEMP => C:\WINDOWS\TEMP, TMP => C:\WINDOWS\TEMP,
USERPROFILE => C:\Documents and Settings\Default User, windir => C:\WINDOWS,
HTTP_CACHE_CONTROL => max-age=0, HTTP_CONNECTION => keep-alive, HTTP_ACCEPT => application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5,
HTTP_ACCEPT_CHARSET => ISO-8859-1,utf-8;q=0.7,*;q=0.3, HTTP_ACCEPT_LANGUAGE => es-ES,es;q=0.8,
HTTP_COOKIE => zenphoto_ssl=needed; __utmz=74766208.1261014564.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=74766208.730368576.1261014564.1261014564.1261014564.1; __unam=b9229fa-1259a530bb8-16bf3f42-4,
HTTP_HOST => carlosbatallas.es, HTTP_USER_AGENT => Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0,
HTTP_X_MCPROXYFILTER => *****************, AUTH_TYPE => , AUTH_PASSWORD => ,
AUTH_USER => , CERT_COOKIE => , CERT_FLAGS => , CERT_ISSUER => , CERT_SERIALNUMBER => ,
CERT_SUBJECT => , CONTENT_LENGTH => 0, CONTENT_TYPE => , GATEWAY_INTERFACE => CGI/1.1,
HTTPS => off, HTTPS_KEYSIZE => , HTTPS_SECRETKEYSIZE => , HTTPS_SERVER_ISSUER => ,
HTTPS_SERVER_SUBJECT => , INSTANCE_ID => 92, LOCAL_ADDR => 82.98.144.68,
LOGON_USER => , PATH_TRANSLATED => C:\webspace\hostings\Postoffices\carlosbatallas.es\hosting\www\Fotos\zp-core\admin.php,
QUERY_STRING => , REMOTE_ADDR => 190.148.208.209, REMOTE_HOST => 190.148.208.209,
REMOTE_USER => , REQUEST_METHOD => GET, SCRIPT_NAME => /Fotos/zp-core/admin.php,
SERVER_NAME => carlosbatallas.es, SERVER_PORT => 80, SERVER_PORT_SECURE => 0,
SERVER_PROTOCOL => HTTP/1.1, SERVER_SOFTWARE => Microsoft-IIS/6.0, UNMAPPED_REMOTE_USER => ,
ORIG_PATH_INFO => /Fotos/zp-core/admin.php, SCRIPT_FILENAME => C:\webspace\hostings\Postoffices\carlosbatallas.es\hosting\www\Fotos\zp-core\admin.php,
PHP_SELF => /Fotos/zp-core/admin.php, REQUEST_TIME => 1261094712 )
///ends///
Problem solved!!!! I was able to go in Chrome in incognito mode again... so I thought, What if I delete the cookies?, and there we went! Most probably I kept the cookies of the first setup and then made all this mess. Now it working as usual, I mean, perfectly. Thanks for all the time you took with this issue, that's one of the reasons I like this program so much! Best
PD: It is working in Firefox as well, and I did not delete the cookies there... Well, i will not give more thoughts to that
"carlosbatallas.es TRUE /fotos FALSE 1266460337 zenphoto_ssl needed"
"carlosbatallas.es TRUE /fotos TRUE 1266460337 zenphoto_auth ea9f10fab7d44659688113bbaf46250d"
After clearing the cookies folder, I log in and I receive no cookies about zenphoto.
best