From: Ben M. <bm...@sy...> - 2002-05-08 05:54:22
|
Thanks for the quick reply. I was just in the php.ini file looking for anything that was out of place. register_globals=3DOn no sign of that variable in httpd.conf or .htaccess I checked apache was using the php 4 module. Any other quick thoughts would be great.=20 Ben On Tue, May 07, 2002 at 11:57:58PM -0600, Dan Wilson wrote: > This looks like an issue of register_globals being off. Currently, phpPg= Admin=20 > requires register_globals to be turned on. >=20 > You can do this through php.ini, an apache directive in either the httpd.= conf=20 > or a .htaccess file. >=20 > Check the php site for instructions on setting this directive:=20 > http://www.php.net/manual/en/configuration.php#configuration.file >=20 > -Dan >=20 > Quoting Ben Moir <bm...@sy...>: >=20 > > Hi folks, > >=20 > > Don't see much activity on this list so not sure if anyone is out there. > >=20 > > I recently installed phpPgAdmin 2.4-1 > > PostgreSQL 7.1.3 > > PHP 4.2 > > on a Redhat 7.2 (apache RPM) > >=20 > > After a few hours battling with the login problems that other users see= m to > > be > > having I got access to the database.=20 > > NOTE: I had to use adv_auth=3Dfalse or the login screen would reload wi= th > > no errors or explaination. > >=20 > >=20 > > Now my joy disappeared quickly when I found errors on most pages. > >=20 > > I couldn't create a table using the phpPgAdmin interface. Nothing seemed > > to happen. > >=20 > > Created a table on the command line. > >=20 > > then in the phpPgAdmin when I click table>browse I get the following > > error: > >=20 > > Warning: Failed opening '' for inclusion > > (include_path=3D'.:/usr/local/lib/php') in > > /home/bmoir/public_html/phpPgAdmin/sql.php on line 130 > >=20 > >=20 > > If I try and insert into the new table I get this error: > >=20 > > 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=20 > > Link: Resource id #1 > > DB: bmoir > > Table: > > Server: 1 > >=20 > >=20 > > It seems like the links are incorrect or there is something seriously > > wrong with my php engine. > >=20 > > 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? > >=20 > > Ben > >=20 > > --=20 > >=20 >=20 >=20 >=20 >=20 > _______________________________________________________________ >=20 > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > phpPgAdmin-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phppgadmin-users --=20 |