From: Dan W. <kil...@us...> - 2002-05-08 05:45:20
|
This looks like an issue of register_globals being off. Currently, phpPgAdmin requires register_globals to be turned on. You can do this through php.ini, an apache directive in either the httpd.conf or a .htaccess file. Check the php site for instructions on setting this directive: http://www.php.net/manual/en/configuration.php#configuration.file -Dan Quoting Ben Moir <bm...@sy...>: > Hi folks, > > Don't see much activity on this list so not sure if anyone is out there. > > I recently installed phpPgAdmin 2.4-1 > PostgreSQL 7.1.3 > PHP 4.2 > on a Redhat 7.2 (apache RPM) > > After a few hours battling with the login problems that other users seem to > be > having I got access to the database. > NOTE: I had to use adv_auth=false or the login screen would reload with > no errors or explaination. > > > Now my joy disappeared quickly when I found errors on most pages. > > I couldn't create a table using the phpPgAdmin interface. Nothing seemed > to happen. > > Created a table on the command line. > > then in the phpPgAdmin when I click table>browse I get the following > error: > > Warning: Failed opening '' for inclusion > (include_path='.:/usr/local/lib/php') in > /home/bmoir/public_html/phpPgAdmin/sql.php on line 130 > > > If I try and insert into the new table I get this error: > > Error - /home/bmoir/public_html/phpPgAdmin/tbl_form.inc.php -- Line: 47 > PostgreSQL said: ERROR: zero-length delimited identifier > Your query: > SELECT * FROM "" LIMIT 1 > Back > Link: Resource id #1 > DB: bmoir > Table: > Server: 1 > > > It seems like the links are incorrect or there is something seriously > wrong with my php engine. > > Any ideas. > One theory is apache is using php3 to run .php files. how can I tell > which php version the interface is running on? > > Ben > > -- > |