From: Bako M. <mi...@sb...> - 2014-02-20 16:35:20
|
Hi Honza! After svn update got: svn: Repository moved permanently to 'https://svn.code.sf.net/p/apc-aa/svn/trunk'; please relocate did: svn switch --relocate https://apc-aa.svn.sourceforge.net/svnroot/apc-aa/trunk https://svn.code.sf.net/p/apc-aa/svn/trunk . got the update, and after database update failed with: *Warning*: mysqli_connect() [function.mysqli-connect <http://ekonoled.ro/aa/service/function.mysqli-connect>]: (HY000/2005): Unknown MySQL server host 'p:localhost' (1) in */home/ekledo/public_html/apc-aa_2.50/include/phplib/db_mysql.inc* on line *72* *Database error:* connect (p:localhost, ekledo_adbusr, $Password, ekledo_aadb) failed - 2005 - Unknown MySQL server host 'p:localhost' (1) *Error Number:*: 0 I am currently running PHP Version 5.2.17* I got when connecting to site: Parse error*: syntax error, unexpected ':' in */home/ekledo/public_html/apc-aa_2.50/modules/site/site.php3* on line *115* Is this because PHP is to old? Last time I had to downgrade PHP because register globals = off did not work. Now if I upgrade php all other sites with reg.globals = on will stop - meaning that I have to upgrade all sites at once and pray new version will work because I can not go back afterwards. What do you suggest? best, Misi On 2014-02-19 19:15, Honza Malik wrote: > Hi all, > > Gert Steenssens found SQL INJECTION problem in our SQL permission system, > which were there for a long time from its beginning phase. > > All systems, which uses SQL based permission system should be updated (see > the line define("PERM_LIB", "sql") in your config.php3 script). The systems > which uses LDAP permission system are not affected. > > The database structure is stable for quite a long time, so any update from > Subversion should be quite easy - just type: > > svn update > > The current AA in SVN works well with PHP 5.3, 5.4 and 5.5 and MySQL >= 5.0 > (or MariaDB). > > Thanks Gert for the report, > > Honza > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > "Did you get answers to your ActionApps-related queries? If yes, please > help the ActionApps community by uploading the answers onto appropriate > space in the ActionApps documentation wiki. See the *How to contribute* > section today http://actionapps.org/en/How_To_Contribute" > _______________________________________________ > apc-aa-general mailing list > apc...@li... > https://lists.sourceforge.net/lists/listinfo/apc-aa-general > |