I have my own idea for increase the features of the PHPMyadmin. How can i
tell them?
On Wed, Jan 16, 2013 at 7:31 PM, <
phpmyadmin-devel-request(a)lists.sourceforge.net> wrote:
> Send Phpmyadmin-devel mailing list submissions to
> phpmyadmin-devel(a)lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
> or, via email, send a message with subject or body 'help' to
> phpmyadmin-devel-request(a)lists.sourceforge.net
>
> You can reach the person managing the list at
> phpmyadmin-devel-owner(a)lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Phpmyadmin-devel digest..."
>
>
> Today's Topics:
>
> 1. Re: PHPUnit and our error handler (Marc Delisle)
> 2. 4.0.0-alpha1, Alex M and Madhura (Marc Delisle)
> 3. Re: 4.0.0-alpha1, Alex M and Madhura (Madhura Jayaratne)
> 4. Re: 4.0.0-alpha1, Alex M and Madhura (Alex M)
> 5. Re: 4.0.0-alpha1, Alex M and Madhura (Marc Delisle)
> 6. Upgrade to the new SF.net interface (Marc Delisle)
> 7. Re: 4.0.0-alpha1, Alex M and Madhura (Rouslan Placella)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 15 Jan 2013 08:37:48 -0500
> From: Marc Delisle <marc(a)infomarc.info>
> Subject: Re: [Phpmyadmin-devel] PHPUnit and our error handler
> To: phpmyadmin-devel(a)lists.sourceforge.net
> Message-ID: <50F55BAC.1010100(a)infomarc.info>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Michal ?iha? a ?crit :
> > Hi
> >
> > Dne Mon, 14 Jan 2013 13:34:24 -0500
> > Marc Delisle <marc(a)infomarc.info> napsal(a):
> >
> >> Rouslan Placella a ?crit :
> >> Failed asserting that exception of type "PHPUnit_Framework_Error" is
> >> thrown. See attached patch.
> >>
> >>
> > [..]
> >> diff --git a/libraries/core.lib.php b/libraries/core.lib.php
> >> index 93be5fe..eb698ff 100644
> >> --- a/libraries/core.lib.php
> >> +++ b/libraries/core.lib.php
> >> @@ -277,7 +277,12 @@ function PMA_warnMissingExtension($extension,
> $fatal = false, $extra = '')
> >> if ($fatal) {
> >> PMA_fatalError($message);
> >> } else {
> >> - trigger_error($message, E_USER_WARNING);
> >> + $GLOBALS['error_handler']->addError(
> >> + $message,
> >> + E_USER_WARNING,
> >> + '',
> >> + '',
> >> + $escape=false);
> >
> > You no longer trigger PHP error here.
> >
> >> }
> >> }
> >>
> >> diff --git a/test/libraries/core/PMA_warnMissingExtension_test.php
> b/test/libraries/core/PMA_warnMissingExtension_test.php
> >> index 1e11c73..661e6c7 100644
> >> --- a/test/libraries/core/PMA_warnMissingExtension_test.php
> >> +++ b/test/libraries/core/PMA_warnMissingExtension_test.php
> >> @@ -15,6 +15,11 @@ require_once 'libraries/core.lib.php';
> >> class PMA_warnMissingExtension_test extends PHPUnit_Framework_TestCase
> >> {
> >>
> >> + protected function setUp() {
> >> + require_once './libraries/Error_Handler.class.php';
> >> + $GLOBALS['error_handler'] = new PMA_Error_Handler();
> >> + }
> >> +
> >> function testMissingExtention(){
> >> $ext = 'php_ext';
> >> $this->setExpectedException('PHPUnit_Framework_Error',
> >
> > So it can not pop up as en error here. The addError method just adds it
> > to list of errors in error handle for future display, but that does not
> > trigger PHP error.
>
> I think I understand now, working on it...
>
>
> --
> Marc Delisle
> http://infomarc.info
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 15 Jan 2013 16:02:18 -0500
> From: Marc Delisle <marc(a)infomarc.info>
> Subject: [Phpmyadmin-devel] 4.0.0-alpha1, Alex M and Madhura
> To: phpmyadmin-devel(a)lists.sf.net
> Message-ID: <50F5C3DA.7050808(a)infomarc.info>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
> just to summarize, I would like to know from you guys:
>
> 1. Do you have problems when pointing your browser to
> http://demo.phpmyadmin.net/master/ or just when visiting your own server?
>
> 2. Did you try disabling all browser extensions?
>
> I'm puzzled by the fact that I cannot reproduce the problems, under
> Ubuntu or Windows 7, as I reported in the other thread.
>
> By the way, one of the Chrome warnings should be solved when this pull
> request [0] is accepted for QA_3_5 then merged to master.
>
> --
> Marc Delisle
> http://infomarc.info
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 16 Jan 2013 06:29:11 +0530
> From: Madhura Jayaratne <madhura.cj(a)gmail.com>
> Subject: Re: [Phpmyadmin-devel] 4.0.0-alpha1, Alex M and Madhura
> To: phpmyadmin-devel(a)lists.sourceforge.net
> Message-ID:
> <CAC5h4aPA3dJDaT5GRdMGTAmh5v=
> irpHmdKaOc9O6DUfueXjtZw(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Wed, Jan 16, 2013 at 2:32 AM, Marc Delisle <marc(a)infomarc.info> wrote:
>
> > Hi,
> > just to summarize, I would like to know from you guys:
> >
> > 1. Do you have problems when pointing your browser to
> > http://demo.phpmyadmin.net/master/ or just when visiting your own
> server?
> >
> > 2. Did you try disabling all browser extensions?
> >
> > I'm puzzled by the fact that I cannot reproduce the problems, under
> > Ubuntu or Windows 7, as I reported in the other thread.
> >
> > By the way, one of the Chrome warnings should be solved when this pull
> > request [0] is accepted for QA_3_5 then merged to master.
> >
> > --
> > Marc Delisle
> > http://infomarc.info
> >
> > Hi,
>
> 1. I have no problem when when pointing to the demo. Only the local server
> gives trouble.
> 2. Yes, I tried disabling all browser extension, but it didn't help
>
>
> --
> Thanks and Regards,
>
> Madhura Jayaratne
>
Hi,
All the problems that were a concern for us have been fixed;
upgrading has been requested and is now in the queue.
--
Marc Delisle
http://infomarc.info
Hi,
I want to modify a test to fit with a modification I am working on. In
this modification, the tested function uses $GLOBALS['error_handler'].
How can I define this global inside my test?
--
Marc Delisle
http://infomarc.info
Hi,
Let's discuss an alpha version for 4.0. In the bug tracker, I tried to
find issues that are serious enough to block releasing the first alpha
version, and could not find any.
Opinions?
--
Marc Delisle
http://infomarc.info
Hi,
I am looking for a script that when executed will export a table from my database in a json format and write it to a file. Does anyone have any idea about this?
Thanks
> Message: 3
> Date: Sat, 12 Jan 2013 15:15:15 +0530
> From: Madhura Jayaratne <madhura.cj(a)gmail.com>
> Subject: Re: [Phpmyadmin-devel] ready for 4.0.0-alpha1 ?
> To: phpmyadmin-devel(a)lists.sourceforge.net
> Message-ID:
> <
CAC5h4aN7y6FO1QsDkQCbf5FvH7sPYkqSP5fJ92izTcaRM+rd6w(a)mail.gmail.com>
> On Wed, Jan 9, 2013 at 9:06 PM, Michal ?iha? <michal(a)cihar.com> wrote:
>
>> Hi
>>
>> Dne Wed, 9 Jan 2013 20:46:54 +0530
>> Madhura Jayaratne <madhura.cj(a)gmail.com> napsal(a):
>>
>> > I tried bisecting and the first bad commit is 44c12545fc863. Still I
have
>> > no clue what's causing this.
>>
>> Maybe js/get_scripts.js.php is genererr?
>>
When large files are gzipped and transported, all together, the Obex limits
the amount of memory provided to the zipping thread and hence a memory
lekage occurs(see the php's bug : Memory Lekage)
Well, out of us only few are able to reproduce the problem because we have
set the Memory limit value a bit higher on php.ini file or sometimes its
the type of processor which can cause this to happen(was in my case) where
MIPS limit can delay the process and in turn causing Memory Lekage and
number of process running at that instance can also cause this to happen.
Now few would wonder that if a memory Lekage occurs then why on this earth
php never generate the error or warning(even in the log file), this is
because this whole process occurs out of the notice of php runtime
management. The zipping module when runs out of memory and in the meantime
if another process need resources, php forcibly deallocate a part of memory
that is in use by the Largest Space Occuping thread. In turn the zipped
file misses few token which in turn causes a part of zipped output being
unzipped at browser end with invalid output I.e. A code like this:
Function foo(){ some code }
Will become:
Xvsh7@d_djdij .... or something else.
>>-
>> Michal ?iha? | http://cihar.com | http://blog.cihar.com
>
>
> I am somewhat confused with the what I noticed. The problem seems to be
> related to the size of the JavaScript loaded.
> For example, if I divide the JavaScript files loaded in the initial call
to
> js/get_scripts.js between two calls with the following code (around Line
74
> of libraries/Script.class.php), the problem goes away.
>
> $mid = floor(count($params) / 2);
> $static_scripts = sprintf(
> "<script type='text/javascript'
> src='js/get_scripts.js.php?%s'></script>",
> implode("&", array_slice($params, 0, $mid))
> );
> $static_scripts .= sprintf(
> "<script type='text/javascript'
> src='js/get_scripts.js.php?%s'></script>",
> implode("&", array_slice($params, $mid))
> );
>
>
This surely works on my old dumb box(Pentium IV) where the MIPS concern the
Memory limits.
Conclusion: This is not a coding bug, instead its a system concern, one of
my friends AMD is also having trouble. So compacting the files is a good
approach, but we should also take care of some System Level approaches that
can limit us in applying our idea.
Regards
Dron Rathore
Hi,
I'm Dulanja Wijethunga,second year engineering student in University
of peradeniya.I am interested in open source projects as Wish to
follow computer engineering next few years.so I selected your
organization because these days I'm learning PHP .....:)
so please helps me where to
start and what to do...
--
Dulanja Wijethunga
Faculty of Engineering,
University of Peradeniya,
Sri Lanka
Hi All,
I recently involved in fixing bug [0]. While fixing it, I was bit confused
that, PMA renders user input as it is while inline editing, without getting
real value saved in database. Yes, PMA do this after checking the result of
query execution function. But though result is not an error, it doesn't
mean that data is saved as it was. Mainly this happens with numeric fields.
Just type decimal value for column with integer type and see what happens
after refresh. As mentioned bug description, MySQL truncate numeric data
(not sure about other data types) without noticing.
Of course checking again the saved value is cost. But it's really odd to
see a less precise data, represent the real data. I think it's better to
clearly identify the data types, with or without having this behaviour. So
that, we can only recheck needed columns.
When introducing inline edit functionality, this may have been discussed.
But I think better to discuss again. What do you think ?
[0] :
http://sourceforge.net/tracker/?func=detail&aid=3576788&group_id=23067&atid…
Regards !
--
Chanaka Dharmarathna
*Virtusa (Pvt) Ltd. | **Sri Lanka*
Hi,
not many themes have been contributed by the community for recent
versions of phpMyAdmin. Maybe theme conversion could be a part of one
GSoC student's project?
--
Marc Delisle
http://infomarc.info