Jump to content
The Uniform Server Community

Marshy

Member
  • Posts

    22
  • Joined

  • Last visited

Everything posted by Marshy

  1. The title says it all. I'm not doing anything unusual with it just some development work. I load my page in IE, Chrome, Firefox and UniServer crashes. [Wed Jul 08 14:06:32 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.10 DAV/2 configured -- resuming normal operations [Wed Jul 08 14:06:32 2009] [notice] Server built: Dec 10 2008 00:10:06 [Wed Jul 08 14:06:32 2009] [notice] Parent: Created child process 31480 [Wed Jul 08 14:06:32 2009] [notice] Child 31480: Child process is running [Wed Jul 08 14:06:32 2009] [notice] Child 31480: Acquired the start mutex. [Wed Jul 08 14:06:32 2009] [notice] Child 31480: Starting 250 worker threads. [Wed Jul 08 14:06:32 2009] [notice] Child 31480: Starting thread to listen on port 80. [Wed Jul 08 14:06:43 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting. Anybody else getting this?
  2. Not sure where to post this so please move if in the wrong section. I'm trying to get to the UniCenter with http://center.uniformserver.com but the page is constantly reloading and does not displaying. Is anyone else experiencing this problem or is it just me?
  3. When you say a blank admin panel what do you mean? Can you attach a screenshot? What URL is displayed in the address bar? Also, the drive letter should not matter as long as UniServer creates a drive. Have a look under the u drive and make sure that everything is there, ie. cgi-bin, docs, etc, home, htpasswd, plugins, tmp, usr, & www. To access your site, copy the site to www under udrive. Then in IE or FireFox type http://localhost/ or Http://localhost/site/ if you dreate a folder under www.
  4. If you are talking about adding new modules to Apache, see this thread: http://forum.uniformserver.com/index.php?showtopic=1355.
  5. There should be no problem with that. Just make sure that you do not start MySQL when you start UniServer. Your problem could lie with MySQL security. Have you tried using MySQL Administrator/Query to make sure you can query the server?
  6. Glad to hear you got it working!!
  7. I downloaded the mod_proxy & mod_proxy_http modules for Apache 2.0.59 and enabled them in the http.conf and UniServer is fine. PHPINFO() reports both modules as loaded. If you need to get the modules, take a look at this.
  8. I was having trouble finding modules for the version of Apache used in UniServer. If you need to get hold of modules for Apache2.0.59 (the one used in UniServer) this is what I did. Download apache_2.0.59-win32-x86-no_ssl.msi from here here Run the installer and just next through the screens When complete, go to C:\Program Files\Apache Group\Apache2 Copy the modules folder to somewhere safe like My Documents Uninstall Apache Server through the Control Panel Copy required modules to C:\Uniform Server\udrive\usr\local\apache2\modules and enable them in httpd.conf ENJOY olajideolaolorun: Could you sticky this please?
  9. This is a quick guide to show you how to setup XDebug and Notepad++ to debug your apps. The guide is split into two parts: Server and Client This guide presumes that you are running UniServer and Notepad++ locally. Server Download XDebug from XDebug. You need to download the Windows module for PHP 5.2.1-5.2.7. Copy the file to (Drive Letter):\Uniform Server\udrive\usr\local\php\extensions Open php.ini and scroll to the end of the file After the eaccelerator settings, insert the following lines [xdebug] zend_extension_ts=/usr/local/PHP/extensions/php_xdebug-2.0.2-5.2.5.dll xdebug.remote_autostart=on xdebug.remote_enable=on xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.idekey=default Start the server and go to http://localhost/apanel/phpinfo.php. You should see something like this This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with eAccelerator v0.9.5.1, Copyright (c) 2004-2006 eAccelerator, by eAccelerator with Xdebug v2.0.2, Copyright (c) 2002-2007, by Derick Rethans Client Download and install Notepad++ from here. Download the DBGP plugin from here (DBGpPlugin_0_6b_dll.zip). Extract the dll to the plugins directory in C:\Program Files\Notepad++\plugins. Start Notepad++ and go to Plugins > DBGp > Config.. The settings are as follows Remote Server IP = (blank) IDE KEY = (blank) Remote Path = W:\www Local Path = W:\www Refresh local context on every step - Checked Refresh Global context on every step - Checked Start the listener by going to Plugins > DBGp > Debugger. This should open a new panel @ the bottom of the screen. Open up IE and load a page, for example http://localhost/index.php If everything has gone to plan Notepad++ should start flashing in the Taskbar. There are buttons to step in/over lines and if you highlight a variable and press Crtl - F7 it wil show you the contents (this works for objects/classes too). I hope this is of use. When the wiki is back up I plan to copy it over and hopefully expand.
  10. Great minds think alike
  11. If you haven't already, you should check out the CodeIgniter framework located here. It's similair to CakePHP but extremely simple to learn and small to boot (756Kb).
  12. Where did you get mod_proxy from? Do you have a link? If the module was compiled for a newer version it wont work. UniServer uses Apache2.0.59.
  13. I've been using Notepad++ for a few months now and think its great. You can get it from here: Notepad++. It can be run from a USB stick and there are a number of plugins to extend the features, including one for debugging. The plugins can be downloaded from here: Notepad++ Plugins. I've been using this lately to debug an app and its been working fine for me. Let me know how you get on and what you decide to use. Marshy
  14. I have solved the problem. Our firewall uses something called Protection Profiles (its a FortiGate) that was deforming the cookie part of the packet. I removed the option to block cookies and everything is A-OK.
  15. Nah its not that. It's doing this in Firefox as well. I have been monitoring the HTTP headers sent to/from the server and I can see the request to create a cookie and the client is sending it back in the header. I have just noticed however that there is something funny in $_SERVER. When accessed through localhost it looks like this ["HTTP_COOKIE"]=> string(15) "test=test+value" When accessed from the Internet i get this ["HTTP_XOOKIE"]=> string(15) "test=test+value" What is XOOKIE and why is the data sent there?
  16. Hi All, I am having some major problems using cookies. Whilst developing the site on localhost I had no problems. I have configured my firewall to forward http traffic from a public IP to my machine and cookies just will not work. I have created a simple test page which consist of this: <?php $value = 'something from somewhere'; setcookie("TestCookie", $value, time() + 3600); // Print an individual cookie echo $_COOKIE["TestCookie"] . "<br>"; echo $HTTP_COOKIE_VARS["TestCookie"] . "<br>"; // Another way to debug/test is to view all cookies echo "<pre>"; print_r($_COOKIE); echo "</pre>"; ?> But no cookie is created. Can anybody tell me why? Is it related to my firewall?
  17. Any word on when we can expect AWStats as a plugin?
  18. Hi guys, This is just a quick note that there is a small mistake in the Disk Start.vbs regarding starting/stopping database support. The section t=MsgBox("Start the MySQL Database Server?", vbYesNo + vbQuestion, "Database Support") If intDoIt = vbNo Then m="" Else m=" mysql" End If should be t=MsgBox("Start the MySQL Database Server?", vbYesNo + vbQuestion, "Database Support") If t = vbNo Then m="" Else m=" mysql" End If .
×
×
  • Create New...