hello,<br>I am planning to apply for the same project.<br>I tried solving <a href="http://sourceforge.net/tracker/?func=detail&atid=377408&aid=2107746&group_id=23067">http://sourceforge.net/tracker/?func=detail&atid=377408&aid=2107746&group_id=23067</a><br>
I figured out that the error is caused when php is running in safe mode as the set_time_limit cannot overwrite the setting. <br>Here's a copy of the mail I had sent previously but no one replied :( could anyone please help me with it?<br>
<br>I've hit a road block with a <span class="il">bug</span> and would appreciate a lot if some seasoned developers would help me get over the problem.<br><br>
Link: <a href="https://sourceforge.net/tracker/?func=detail&atid=377408&aid=2107746&group_id=23067" target="_blank">https://sourceforge.net/tracker/?func=detail&atid=377408&aid=2107746&group_id=23067</a><br>
Please read the comments.<br>Narrowed down the problem to being from
php.ini 's safe mode setting which doesn't let set_time_limit override
default max_execution_time in php.ini<br><br>After making a rough idea
of how the export works in PMA it struck me that we can use the function
that basically outputs every line in all types of output. [install
dir]/export.php > PMA_exportOutputHandler to check if we are going to
run out of time<br>
<br>
<a href="http://pastebin.com/8BCSN7es" target="_blank">http://pastebin.com/8BCSN7es</a><br>
<br>
I made these changes from around line 110 search for function called PMA_exportOutputHandler and you'll find it.<br>
Now the final lines on my download give out the line "It's gonna blow!!!"<br>
last few lines.<br>
<a href="http://pastebin.com/BEbv42Ds" target="_blank">http://pastebin.com/BEbv42Ds</a><br>
<br>
Now I need to make sure that<br><ol><li>User gets an error. (session or
something? $GLOBALS['message'] = PMA_Message::error(); is of no use for
files going line by line :( )</li><li>The function passes back the last
output line or may be redirects for another file download for lines
after the current one being output.</li></ol>Can you guys think of any other scenario for an error (except for safe mode) and can you guide me on shooting out the errors?<br>Worst case scenario we can use the error handling function for a fallback but I want to make a clean solution if possible.<br>
<br><br>return false; will obviously stop the output before an error can be made but that will not warn a user.<br><br>What about a generic warning in case php is running in safe mode?<br><br><div class="gmail_quote">2011/3/24 Fábio Albuquerque <span dir="ltr"><<a href="mailto:fabiocbalbuquerque@gmail.com">fabiocbalbuquerque@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Ok, Marc, thank you. I'll try to code something and maybe complete some task (<a href="http://wiki.phpmyadmin.net/pma/Tasks_for_junior_developers" target="_blank">http://wiki.phpmyadmin.net/pma/Tasks_for_junior_developers</a>). As soon as possible, I publish some change at my git tree. I really thank your advice.</div>
<div><div></div><div class="h5">
<div><br></div><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 2:13 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Fábio Albuquerque a écrit :<br>
<div>> My name is Fábio, I'm a student of Computer Science at Federal<br>
> University of Paraíba, Brazil, and an enthusiastic of GSoC. As I've<br>
> working with phpMyAdmin in the last two years, I'd love to contribute<br>
> and to improve this excellent tool. I'm interested to implement some<br>
> object oriented improvements on some existing module/functionality, like<br>
> import or export a database, CRUD operations, etc.<br>
</div>(...)<br>
<div>><br>
> Is there anything else I can do beside exploring the code? How can I<br>
> discuss the focus of the implementation? I just can't wait to work with<br>
> it and finally make my real contribution. Thank you all in advance.<br>
<br>
</div>Yes, please read<br>
<a href="http://wiki.phpmyadmin.net/pma/GSoC_2011_Applicant_Guide" target="_blank">http://wiki.phpmyadmin.net/pma/GSoC_2011_Applicant_Guide</a> especially item 2.<br>
<br>
<br>
--<br>
Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
<br>
------------------------------------------------------------------------------<br>
Enable your software for Intel(R) Active Management Technology to meet the<br>
growing manageability and security demands of your customers. Businesses<br>
are taking advantage of Intel(R) vPro (TM) technology - will your software<br>
be a part of the solution? Download the Intel(R) Manageability Checker<br>
today! <a href="http://p.sf.net/sfu/intel-dev2devmar" target="_blank">http://p.sf.net/sfu/intel-dev2devmar</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net" target="_blank">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</blockquote></div><br>
</div></div><br>------------------------------------------------------------------------------<br>
Enable your software for Intel(R) Active Management Technology to meet the<br>
growing manageability and security demands of your customers. Businesses<br>
are taking advantage of Intel(R) vPro (TM) technology - will your software<br>
be a part of the solution? Download the Intel(R) Manageability Checker<br>
today! <a href="http://p.sf.net/sfu/intel-dev2devmar" target="_blank">http://p.sf.net/sfu/intel-dev2devmar</a><br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Piyush Mishra<br><a href="http://www.piyushmishra.com/" target="_blank">http://www.piyushmishra.com/</a><br>Life's Short, Live it to the maximum<br><br>