Hi. I finally got phpPgAdmin working partially, but I still get this error:
Warning: Failed opening '' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/phpPgAdmin/sql.php on line 130
running phpPgAdmin 2.4-1, PostgreSQL 7.2.1 running on local:5432
also when trying to create a db, it says :
Error - /var/www/html/phpPgAdmin/db_create.php -- Line: 10
PostgreSQL said: ERROR: zero-length delimited identifier
Your query:
CREATE DATABASE ""
Back
Any help with this would be appreciated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This looks like a register_globals problem. phpPgAdmin requires that register_globals be on. You can either change this in your php.ini or in a .htaccess file to make it a directory specific setting rather than global.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got it working. I had actually upgraded and had old files sitting around. Deleted all of them, reinstalled, set globals to on and it worked :) Thanks again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the tip on register_globals. I had the same problem.
I thought that putting register_globals "on", rather than specifically requesting variables with http_post_vars.. was a potential security problem.
Comments.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the tip on register_globals. I had the same problem.
I thought that putting register_globals "on", rather than specifically requesting variables with http_post_vars.. was a potential security problem.
Comments? Or is the fix as simple as setting the register_globals in .htaccess?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I finally got phpPgAdmin working partially, but I still get this error:
Warning: Failed opening '' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/phpPgAdmin/sql.php on line 130
running phpPgAdmin 2.4-1, PostgreSQL 7.2.1 running on local:5432
also when trying to create a db, it says :
Error - /var/www/html/phpPgAdmin/db_create.php -- Line: 10
PostgreSQL said: ERROR: zero-length delimited identifier
Your query:
CREATE DATABASE ""
Back
Any help with this would be appreciated
This looks like a register_globals problem. phpPgAdmin requires that register_globals be on. You can either change this in your php.ini or in a .htaccess file to make it a directory specific setting rather than global.
Hmm. checked that. They are turned on. Still does not work. :( Any other ideas?
Running RHL 7.3 btw if that helps.
Thanks for the idea though :)
I got it working. I had actually upgraded and had old files sitting around. Deleted all of them, reinstalled, set globals to on and it worked :) Thanks again.
Thanks for the tip on register_globals. I had the same problem.
I thought that putting register_globals "on", rather than specifically requesting variables with http_post_vars.. was a potential security problem.
Comments.
Thanks for the tip on register_globals. I had the same problem.
I thought that putting register_globals "on", rather than specifically requesting variables with http_post_vars.. was a potential security problem.
Comments? Or is the fix as simple as setting the register_globals in .htaccess?
Actually, the easiest solution is to try 2.4.2-beta... this included fixes so all variables come from the variable arrays (HTTP_POST_VARS. etc)