Jump to content
The Uniform Server Community

jacob lee

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About jacob lee

  • Rank
    Junior Member
  1. jacob lee

    cake php install

    make your .ataccess files which is located in www folder like: AllowOverride All Options Indexes Includes FollowSymLinks Order allow,deny Allow from all or you can delete it! your configuration of www folder is in apache/conf/httpd.conf already.
  2. As RIC said, the only thing you need is $font = 'C:\WINDOWS\Fonts\arial.ttf'; and copying the font to your script is not need. works fine. tested with the fresh uniformserver 3.5. ps: if you have the png file already please delete it first and test again.
  3. jacob lee

    How to config CGI

    does test.cgi exist in "/udrive/cgi-bin" folder? the error log says you do not have the script file in "/udrive/cgi-bin" folder.
  4. I see. I'm not english speaking. I'm learning english... thanks. curiosity solved.
  5. I'm just wondering why double "B"oard is used . The Uniform Server BBoard. Is there any reason for that?
  6. jacob lee

    How to config CGI

    what is need is error logs when the url is http://localhost/cgi-bin/test.cgi not http://localhost/cgi-bin/
  7. jacob lee

    How to config CGI

    internal server error shows you have a problem with your apache configuration file(httpd.conf). the original uniform server has no problem running your code. open your httpd.conf(/udrive/usr/local/apache2/conf/httpd.conf) and check your cgi-bin configuration. it should much like ScriptAlias /cgi-bin "/cgi-bin/" # "C:/Program Files/Apache Group/Apache2/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. <Directory "/cgi-bin/"> AllowOverride All Options ExecCGI </Directory> BUT if you have no problem with your first page of uniform server and can shutdown your server using your admin panel page then there might be another problem. check your apache log file also.
  8. I've changed pskill.exe to pv.exe a long time ago and I can't remember hearing beep sound after that. http://www.faratasystems.com/pview/prcview.htm
  9. using %CD% we can do a lot of things. open cmd.exe and type "echo %CD%". it will show like "C:\Documents and Settings\jacob lee" type "echo %CD:~0,1% then it will show "C" so we can change "set Disk=h" to: set Disk=%CD:~0,1% wow, I'm a Junior member!
  10. You are right. 100% agree. my only concern is why the error message gives double directory separator. that's it.
  11. RIC: the grammar using endswitch is right. override: I think you will solve this with this code: $i = $_GET['i']; switch($i).... then if you use "include(test1.php?i=1);" in your test.php then you will see "i equals 1" as a result.
  12. open(/tmp/\\sess_ov4uim9hrsfg8mod07sqomt2q6, O_RDWR) failed: No such file or directory it might be the configuration of temporary file path is wrong. /tmp/sess... or /tmp\\sess... is right but /tmp/\\sess... has double directory separator.
  13. So you made your own. I don't think it should called Uniformserver++. I have my own windows-folders style uniformserver. still I respect the owner of uniformserver. because of that reason when I started the firbird support project I made it adopted by the original uniformserver also. Yours is quite complicated and far from simplity. the idea of making uniformserver better is good as long as we respect the original work.
  14. Here you can see: http://wiki.uniformserver.com/index.php/Installing_Firebird There will be some typos and poor grammers please correct them.
  15. One more thing needed. If you encounter 'too many open links(0)' error or 'Undefined service gds_db/tcp' error then add the following line to %SystemRoot%\system32\drivers\etc\services gds_db 3050/tcp #InterBase Server or use my php: <?php // Installs gds_db port to services file $system_root = getenv('SystemRoot'); $service_file = $system_root.'system32'.DIRECTORY_SEPARATOR.'drivers'.DIRECTORY_SEPARATOR.'etc'.DIRECTORY_SEPARATOR.'services'; $lines = file($service_file); foreach ($lines as $line) { if (strpos($line, 'gds_db') !== false) { exit('gds_db port is already installed.'); } } $fp = fopen($service_file, 'a'); fwrite($fp, "\r\ngds_db 3050/tcp #InterBase Server"); fclose($fp); echo "gds_db port is successfully installed."; ?> actually I changed my code to check gds_db port whenever I start the server and install gds_db if it is not installed.
  • Create New...