PHP & Mysql worked until reboot?

Hello,
I went through the steps to reinstall MySQL and activate Leopards PHP and everything was super. It worked, I had the database up and running. Then BAM, after I shutdown and restarted PHP no longer seems to be working and MySQL is now "missing its socket".
Any ideas why this would work after a install but crap out after a reboot?
I did a archive and install to Leopard if that helps.

How busy is your server (in terms of number of
sumultaneous hits)?
Our server is the homepage for all of our client machines, around 3,800, they hit the net all day. Besides that, our hits in our web apps are around 400, or less depending on the classes.
It sounds like you're running Apache in its default
settings, which is to initially spawn one child
process listening for connections, but spwan more as
load increases, up to 5.
Those numbers are fine for lightweight sites but if
your site is busy they may be insufficient.
That, coupled with the MaxRequestsPerChild setting
could all be relevant. The MaxRequestsPerChild tells
apache how many connections each child process should
serve before dying (and a new instance created). It's
designed specifically so that memory leaks can be
contained and cleaned up before the server gets
bogged down. Fixing the memory leak would be a
preferable solution, but lowering the number would
also be a valid workaround.
There's no significant downside to lowering this
number - a few hundred might be better. The only
issue is that the next connection would take a few
milliseconds longer since a new process has to be
spawned to handle it.
You might also want to increase the number of child
processes running, especially if the site is busy.
You can tweak both the initial number (that's always
sitting around even with no traffic) and the maximum
number of simultaneous children. What's appropriate
is going to be based on your site, but 10/50 might be
a good starting point (you can always lower it later
if you need to. You can change these settings either
via Server Admin or by editing /etc/httpd/httpd.conf
Thanks, I will give it a try.
JL

Similar Messages

  • After I unplug headphones, the speakers no longer work until rebooted.  Anyone else experience this?  Also had the same issue on the Droid Razr Maxx.

    After I unplug headphones, the speakers no longer work until rebooted.  Anyone else experience this?  Also had the same issue on the Droid Razr Maxx.

        Ahh. We can still help find the culprit, TeaParty14. Do you have any 3rd party applications installed to play your music? Are you able to hear any audio if you plug the headphones back into the phone instead of rebooting? Any audio for calls through the phone direct or through speakerphone?
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Hotspot won't work until reboot

    I have an LG G2 on android 4.4.2.... and my hotspot won't work until I reboot the phone.  This is extremely annoying, as the only time I need the hotspot, I need it NOW, not in a few minutes.   How to fix this?

        Snn5,
    Gotcha! Having a software update failure is definitely not normal. We need to get that software installed, and we need it to go smoothly for you. This may require a Factory Reset. Please back up your phone's information first as a factory reset will erase the entire phone and then follow these steps -> http://vz.to/1lGsddB  Let us know if the hotspot is still misbehaving after the reset is done.
    SarahO_VZW
    Follow us on Twitter @VZWSupport

  • WRT54GL stops working until rebooted

    I've been using my WRT54GL for years with no problems.  A few months ago, I began to see an intermittent problem, in which all devices connected to it (either wirelessly or wired) would suddenly lose access to the network.  Sometimes (but not always), one of the devices will also give a device-conflict message about there being another device using the same IP address.  In any case, the only thing that works at this point is to unplug the power from the router and restart it.
    I've got the router set up for DHCP, and I do have a couple devices (a printer and a NAS) set up with static addresses outside the range of DHCP.
    The only thing that I can think of that changed at the time this started happening, was that my wife installed the updates to her Macbook's OS.  And our family had a sudden influx of iPhones which connect to the router.
    I've poked around in the router's settings to no avail. I've checked the release notes for the firmware updates but I don't see anything relevant.  I'm considering going rogue (to use the parlance of our times) and installing the Tomato firmware to see if it makes any difference.  But first are there any suggestions for me before I take this drastic step?
    Thanks,
    MJD 

    When the router complains of two devices using the same IP address, it is almost always correct.  And this will almost always cause bizarre problems with your network.  You must search your network to find the conflict.  To check this out, do an "ipconfig" on each computer, or display the IP address on the device.
    Note that if a device uses a static IP address, it must be outside the DHCP server range, and it cannot end in 0, 1, or 255.
    If you have an unsecured wireless network, the "duplicate IP address" could be from your neighbor's computer.  To fix this, add wireless security to your network.
    Sometimes duplicate IP's can be generated if the router is shut down, then soon restarted or rebooted, while wireless computers are still "connected".  To fix this, disconnect (or shut down) wireless computers, then reboot router, then reconnect wireless computers.

  • Hello! I'm using Aperture with Efex plugins and notice, what when I saving result in plugin and go back to aperture, preview mode is going to grey color and not working until I reboot Aperture. Did you saw this problem?

    Hello! I'm using Aperture with Efex plugins and notice, what when I saving result in plugin and go back to aperture, preview mode is going to grey color and not working until I reboot Aperture. What is intresting - in full screen mode everything works fine. Did you saw this problem?

    It seems there's a workaround here:
    https://discussions.apple.com/thread/5566037?tstart=0

  • In Windows 7 Itunes loads and runs fine. When I close it down and try to get back in it just sits there. It won't work until I reboot the computer.

    I am running WIndows7. I boot up load itunes and it runs fine.. all aspects. 
    When I close it down and try to get back in later it just sits there. It won't work until I reboot the computer.
    I have updated and reloaded several times. Nothing

    Let's see whether this file APSDaemon.exe is the problem here.
    Close your iTunes.
    Press Ctrl-Alt-Del key and choose Task Manager. In the "Processes" Tab, select the file APSDaemon.exe and click End Prosses button, then close the task manager window.
    Now open itunes and see if it is working?
    If that works, make sure you do this below to prevent same problem after restarting windows:
    Go to. START button, type in
    MSCONFIG
    Hit ENTER
    Click STARTUP Tab, Uncheck "Apple Push", click OK.
    Restart Windows.

  • Creating a flash website to work with php & MYSQL for MMORPG

    Hi i have a website which is a gangster MMORPG, it using PHP,
    CSS, HTML and some javascript but however with the amount of game
    similar to mine i want to make it unique so i bought "building
    flash websites for dummies" i have read must of it and understand
    most of it. but however don't really have a clue i it could
    actually work with my website.
    what i want to know is can it work with my current PHP &
    MYSQL, so for example i want to create a logging page with flash to
    replace my old PHP/HTML one this will be my first crack at it. but
    will flash be able to check the MYSQL database and send error
    messages back to the view etc.

    Yeah, this can work... My recommendations would be to read a
    couple articles in the dev center on this topic, that should get
    you started...
    http://www.adobe.com/devnet/flash/articles/flash_databases.html
    http://www.adobe.com/devnet/flash/articles/datawizards.html
    http://www.adobe.com/devnet/flash/articles/ria_dataservices.html

  • Sometimes my iPad1 locks up and has the flat battery graphic after charging all night, but will not work until you disconnect the charger, then it reboots and the battery is fully charged and works normally

    Sometimes my iPad1 locks up and has the flat battery graphic after charging all night, but will not work until you disconnect the charger, then it reboots and the battery is fully charged and works normally.
    It has only happened for the last month or so
    Also, sometimes it drops out of apps, ie facebook etc. just like you have hit the stop button

    Who replaced the battery? If it wasn't Apple the replacement is probably bad also. Either that, or the logic board is bad.

  • Where to go next with Dreamweaver and server-side (php/mysql) applications?

    This question is mainly directed at David Powers but  I appreciate any input from anyone with the same concern or question.
    I've been using DW since the change from Macromedia and have developed a number of applications using built in server behaviors and sb extensions from ADDT, WebAssist, etc. I've learned to customize these behaviors to fit my needs always keeping within the "canned" code. In this way I've "learned" php.
    I own most of David's books and in fact, it was because of these that I have any idea about what I'm doing and went in this direction in my "developer" career (building php/mysql applications using Dreamweaver.)
    With the decision to remove server behaviors (and the other "developer" panels) from DW and with the deprecation of the mysql extension from the php landscape, I'm wondering where to go next? I fully understand this has to happen.
    I'm aware of some alternatives:
    Zend or some other framework - to me, this seems extremely complex
    Keep several versions of DW installed
    Stick to Joomla/WordPress/Drupal - let others who know what they're doing build the architecture
    Actually LEARN php - wish I had time; too much work to do (I know how illogical that sounds but it's a very real situation)
    I know I'm going to have to switch out all that deprecated code or better yet, rebuild the many applications which used the DW (and other) server behaviors. I'm just not sure which way to turn.

    rjjacob wrote:
    Since I wrote this post I concluded that there is no substitute for understanding and have started my re-education by delving further into the issue with updated PHP/MySQL books and tutorials so I can prepare for a Dreamweaver without this functionality.
    Yes, I too have concluded that is the way to go as well. There really is no substitute for learning as much as you can. Whilst the DW Server Behaviours were very convenient they have not kept pace, Adobe prefering to spent their time on less important updates in my opinion. The Server Behaviours are what makes Dreamweaver the tool of choice  for database integration for those who lack the knowledge. I feel the Adobe team will regret not coming up with an alternative. Anything that detracts from making the program what it is is a step in the wrong direction and for sure this is a big step in the wrong direction.
    rjjacob wrote:
    I have mainly used DW server behaviors in my development projects that's why I am curious about what others are doing to make the change. I'm surprised there haven't been more posts; perhaps I'm the last one to be taking action about this, or maybe no one is too worried about it yet.
    I think a lot have changed their working practice but many more are burying their heads in the sand. sql_ support is a way off from being completely dropped yet.
    rjjacob wrote:
    Anyway, your assessment of how terrible the server behaviors are is correct. I'm finding that true after barely breaking the binding on a few books about the greater subject and looking into mysqli and PDO.
    Yes, because I relied heavily on them I did not know how bad they were until I forced myself to look further afield. What you can do in a couple of lines of code the DW Server Behaviors produced quadruple or more to achieve the same.
    rjjacob wrote:
    But they sure were convenient!
    Yes, I agree. Maybe some extention developer will come up with a set of new improved behaviours. I tell you if they do they will make a shed load of money.

  • Host recomendation - linux - php/mysql

    Hi gangsters and molls :)
    I'm looking again for some advice from the knowledgable
    contributors of
    this forum, of which there are many, many, many!
    I'm in need of a host, that provides php/mysql linux and some
    good
    online instructions (preferably the hosts own instructions)
    about
    tranfering/connecting the database up. I'm as thick as two
    planks when
    it comes to moving the the dynamic technical stuff over to a
    remote
    host, so bear that in mind. I try but I'm getting old and
    past my
    sell-by date :(
    I've done this on a couple of occasions (some time ago
    though), spent a
    good few hours resolving connection issues but finally
    everything
    worked. However if anyone knows of a good host and some good
    walk ya
    through instructions to save me some hassle I'd be grateful.
    I'm not really that bothered where the host is (preferably uk
    but I'm
    open minded)........EASE OF USE & SET-UP is paramount on
    this ocassion.
    Cheers!
    Os.

    : Nadia : ** Adobe Community Expert ** wrote:
    > "Osgood" <[email protected]> wrote in
    message
    > news:[email protected]...
    >
    >>Hi gangsters and molls :)
    >>
    >>I'm looking again for some advice from the
    knowledgable contributors of
    >>this forum, of which there are many, many, many!
    >
    >
    > you're being too mich - what's up Os ? ;-)
    Yeah...I'm on new tablets.........seems to be doing the trick
    until my
    immune system fights back.
    >>I'm in need of a host, that provides php/mysql linux
    and some good online
    >>instructions (preferably the hosts own instructions)
    about
    >>tranfering/connecting the database up. I'm as thick
    as two planks when it
    >>comes to moving the the dynamic technical stuff over
    to a remote host, so
    >>bear that in mind. I try but I'm getting old and past
    my sell-by date :(
    >
    >
    >
    > www.hostmysite.com is US based, but I've had no problems
    with email
    > support - they've been great... they also have
    'live-help' I think. They've
    > helped me heaps in setting up dbs or fixed errors when I
    did a few installs
    > of various CMSs...
    Yup...you've mentioned them before in some previous posts,
    I'll check
    them out.
    > www.webstrikesolutions.com been with them for years...
    email support is
    > terrific (no phone support, but live chat again).
    Haven't had much to do
    > with php side of things with them, though they have both
    win and linux
    > servers, most of my clients are on windows and a couple
    of clients on linux.
    > Had to have help with a couple of asp dbs and they were
    great help there.
    Humm....why does a connection to a remote database seem so
    imposing.
    Should be a simple drag and drop solution.
    I don't even know where the database file is created on my
    Mac but
    apparently you have to create a 'dump' file to transfer it to
    a remote
    location. I can do that in phpMyAdmin but wouldn't it be
    simple if there
    was an identifiable file which you could just grab hold of
    and drag
    across.......bummer all seem complicated to me.
    > www.crystaltech.com have also been great to work with -
    again US based,
    > help docs are a bit sparse - or it could be me not
    understanding them :-)
    > but email support is good.
    Humm I have some instruction docs from a host that I have
    previously
    used but thaey might as well be written in chinese.
    Do you know if I can set up a website on one server and have
    it pull
    information from a database which is hosted on another
    server?
    Os.

  • Updating to 10.4.11 killed my PHP/MYSQL connections

    Hi all - I use Dreamweaver CS3 for web development, and have been using some very simple PHP/MYSQL Select and Inserts. Everything was working fabulously up until this morning, when I updated to 10.4.11 (Macbook Pro, CoreDuo). As soon as I updated, I get a 'No Database Selected' message in Safari, Firefox and IE. I can see the database and work with it in DWeaver, just can't get it to go live in browsers.
    I'm running PHP 5.2.4, MYSQL 5.1.8 and whatever version of Apache is bundled in OS X (I think it's 1.x - but can't find how to get that number!)
    Just for record, I have stopped/restarted Personal Web Sharing, Personal File Sharing, OS X, MYSQL to just check whether something wasn't working there.
    I'm about to close out, zap the PRAM and then come back in.
    Any ideas?
    Vince

    Thanks - A couple of additional points. This is OS X 10.4.11, not OS X Server, so I had installed MYSQL and PHP as fresh installations. MYSQL has not changed since I installed and is running fine through direct client (Navicat).
    For PHP I was running 4 and it had been running fine. When the update to OSX came through, PHP 4 didn't work - no change had been made to any configuration file that was working already. These are the httpd.conf instructions I had followed to set-up PHP 4:
    +1 Launch Terminal from /Applications/Utilities.+
    +2 Open the Apache configuration file and edit the UNIX shell prompt:+
    +sudo pico /etc/httpd/httpd.conf+
    +3 When prompted for a password, enter the Mac OS X administrator account password.+
    +4 Uncomment the following lines:+
    +LoadModule php4_module libexec/httpd/libphp4.so+
    +AddModule mod_php4.c+
    +5 Add the following lines (add these lines above: AddType application/x-tar .tgz):+
    +AddType application/x-httpd-php .php+
    +AddType application/x-httpd-php-source .phps+
    +Note: All the commands for the pico editor display on the screen and you can start any commands with the Control key. Use the arrow keys to move around. Pico is a text editor, mostly for UNIX users to use at the UNIX command line. The pico text editor resides in /usr/bin/ directory.+
    +6 Add a new index page for PHP (index.php) so that the web server will recognize it as the first page to load:+
    +<IfModule mod_dir.c>+
    +DirectoryIndex index.html index.php index.htm+
    </IfModule>
    +7 Save the httpd.conf file by pressing ^X (control & x keys). When the screen asks "Save Modified buffer?", press "Y". When prompted for "File Name to write : httpd.conf", press Return once to accept it. This will return you to the UNIX shell prompt.+
    When PHP 4 stopped working, I took the decision to upgrade to 5 and then fix the breakdown (by now, I was convinced it was an Apache change (nothing in config had changed at all). So, upgraded to PHP 5 and, to do so, had to reverse the directions above. Since then, I've tried reenabling the above, replacing with PHP5 wherever PHP4 appears, all to no avail (in fact, it just froze the Personal Web Sharing that turns Apache on/off).
    Right now, running the phpinfo check detailed above tells me the PHP 5 is successfully installed and running. The text from the test copied here:
    +System Darwin Vincet-MacBook-Pro.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386+
    +_Build Date_ Aug 31 2007 23:38:11+
    +_Configure Command_ './configure' '--prefix=/usr/local/php5' '--with-apxs' '--with-config-file-scan-dir=/usr/local/php5/php.d' '--with-iconv' '--with-openssl=/usr' '--with-zlib=/usr' '--with-gd' '--with-zlib-dir=/usr' '--with-ldap' '--with-xmlrpc' '--with-iconv-dir=/usr' '--with-snmp=/usr' '--enable-exif' '--enable-wddx' '--enable-soap' '--enable-sqlite-utf8' '--enable-ftp' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-mbstring' '--enable-calendar' '--enable-bcmath' '--with-bz2=/usr' '--enable-fastcgi' '--enable-cgi' '--enable-memory-limit' '--enable-zip' '--enable-pcntl' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-curl=shared,/usr/local/php5' '--with-mysql=shared,/usr/local/php5' '--with-mysqli=shared,/usr/local/php5/bin/mysql_config' '--with-pdo-mysql=shared,/usr/local/php5' '--with-libxml-dir=shared,/usr/local/php5' '--with-xsl=shared,/usr/local/php5' '--with-pdflib=shared,/usr/local/php5' '--with-imap=../imap-2004g' '--with-kerberos=/usr' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr/local/php5' '--with-png-dir=/usr/local/php5' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/php5' '--with-iodbc=shared,/usr' '--with-pgsql=shared,/usr/local/php5' '--with-pdo-pgsql=shared,/usr/local/php5' '--with-t1lib=/usr/local/php5' '--with-gettext=shared,/usr/local/php5' '--with-ming=shared,/usr/local/php5' '--with-mcrypt=shared,/usr/local/php5' '--with-mhash=shared,/usr/local/php5' '--with-mssql=shared,/usr/local/php5' '--with-fbsql=shared,/Users/liyanage/svn/entropy/universalbuild/src/FBDeveloper Libraries/Library/FrontBase' '--with-json=shared' '--enable-memcache' '--enable-openbase_module'+
    +_Server AP_I Apache+
    +_Virtual Directory Suppor_t disabled+
    +_Configuration File (php.ini) Path_ /usr/local/php5/lib+
    +_Loaded Configuration File_ /usr/local/php5/lib/php.ini+
    +_Scan this dir for additional .ini files_ /usr/local/php5/php.d+
    +_additional .ini files parsed_ /usr/local/php5/php.d/10-extension_dir.ini, /usr/local/php5/php.d/50-extension-curl.ini, /usr/local/php5/php.d/50-extension-fbsql.ini, /usr/local/php5/php.d/50-extension-gettext.ini, /usr/local/php5/php.d/50-extension-json.ini, /usr/local/php5/php.d/50-extension-mcrypt.ini, /usr/local/php5/php.d/50-extension-mhash.ini, /usr/local/php5/php.d/50-extension-ming.ini, /usr/local/php5/php.d/50-extension-mssql.ini, /usr/local/php5/php.d/50-extension-mysql.ini, /usr/local/php5/php.d/50-extension-mysqli.ini, /usr/local/php5/php.d/50-extension-odbc.ini, /usr/local/php5/php.d/50-extension-pdf.ini, /usr/local/php5/php.d/50-extension-pdo_mysql.ini, /usr/local/php5/php.d/50-extension-pdo_pgsql.ini, /usr/local/php5/php.d/50-extension-pgsql.ini, /usr/local/php5/php.d/50-extension-xsl.ini+
    +_PHP API_ 20041225+
    +P_HP Extension_ 20060613+
    +_Zend Extension_ 220060519+
    +_Debug Build_ no+
    +_Thread Safety_ disabled+
    +Zend Memory Manager enabled+
    +_IPv6 Support_ enabled+
    +_Registered PHP Streams_ zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps+
    +_Registered Stream Socket Transports_ tcp, udp, unix, udg, ssl, sslv3, sslv2, tls+
    +_Registered Stream Filters_ string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*+
    I don't know if any of this helps, but it's what I find. From my online troubleshooting and reading, I believe all of the above looks right and that things should work. So, I'm still left with an informed gut decision that something in the set-up of Apache changed (location in file structure, configuration file, etc.) Could it be looking at a second copy of httpd.conf somewhere else? That would seem to make sense - however I haven't managed to turn up how to assess which version of Apache is loaded (I think 1.3) or where it's located.
    If anyone can confirm what PHP5 code should be included in httpd.conf given the above, that would be a great next step.
    Thanks for all your assistance!
    Vince

  • Can't connect PHP/MySQL 404 error

    Wow, the learning curve is killing me. Yet another challenge. I'm using Dreamweaver CC and this tutorial http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    I'm at this step:
    Open comments.php. You must have a PHP page open in the Document window to create a MySQL connection.
    In the Databases panel (choose Window > Databases), click the Plus button on the panel and select MySQL Connection.The MySQL Connection dialog box appears.
    Type connTest as the connection name.
    For the MySQL Server, type localhost.If you are using the MAMP default ports on a Mac, use localhost:8889.
    For the User Name, type phptestuser.
    Type the password you chose for the phptestuser account in the Password field.
    For the Database, type php_test.Note: You don't need to precede the underscore with a backslash here. It was inserted by phpMyAdmin in the previous section (see Figure 20) only because phpMyAdmin uses a query that permits wildcard characters.
    Click Test.Dreamweaver attempts to connect to the database. If the connection fails, do the following:
    Double-check the server name, user name, and password.
    Check the settings for the folder Dreamweaver uses to process dynamic pages (see Specifying a Testing Server for Dreamweaver).
    Verify that the web and MySQL servers are both running.
    Temporarily disable any firewall or security program. If the connection works, you need to configure the security program to permit communication between Dreamweaver and MySQL.
    Click OK. The new connection appears in the Databases panel.
    Expand the connTest connection, and then expand the Tables branch. You'll see the comments table in the database, which you can expand to reveal the details of the table columns (see Figure 23).
    As far as I can tell I have followed this tutorial to the letter.
    As far as I can tell, XAMPP/php mySQL are all running fine, the files are in the correct place and everything should be working. However when I hit test I get a 404 error. (Same error when I hit the select button.)
    The suggested problems on the 404 message are:
    1. There is no testing server running on the server machine.
    Pretty sure the testing server is running. Is there any way to test this, other than to note that xampp is definitely running right now and that I can log into phpMYadmin no problem?
    2. The testing server specified for this site does not map to the http://localhost/php_test/_MMServerScripts/MMHTTPDB.php URL Verify that the URL Prefix maps to the root of the site.
    Ummm...I'm pretty sure I put things where I was told to put them in the tutorial, but I'm lost at this point where I should verify what. A clue here? The files are where they are supposed to be, but maybe I entered something wrong? Except...I'm not sure what that could be or where to find it. Whatever IT is.
    Everything in local files is looking good.
    Thanks for your help!
    PS: Extra points to anyone who figures out how to make copy/pasteable error messages! These buggers are the bane of my life!

    Bgupta, you rock!
    I hope you have copied the "mysql.php" and "MMHTTPDB.php" files from "C:\Users\username\AppData\Roaming\Adobe\Dreamweaver CC\locale\Configuration\Connections\Scripts\PHP_MySQL\_mmDBScripts" to "C:\xampp\htdocs\phptest\_mmServerScripts"
    This was EXACTLY the problem. I checked the tutorial and I couldn't even find where the tutorial said to do this. (If I missed it, let me know where in the tutorial it was, please.)
    Fixed!

  • Show if field is not empty - PHP/MySQL

    Is there a way I can only show bits of a page if a recordset
    has entries in a certain field, automatically hiding the area if
    the field is empty. (PHP/MySQL)
    To put it in real terms, I have loads of products listed in a
    repeating table. If a product has a photo gallery related to it
    there is a 1 entered in 'photos' field, it has a video attached
    here is a 1 entered in 'videos field and likewise for reviews it
    will have a 1 entered in the reviews field.
    What I'd like to have is a photo, video and review icon/link
    in the 'master table' which only appears in the repeated products
    that have a 1 listed in that field and have them not appear at all
    when there is a 0 in the field.
    Can anyone help me figure it out

    ADDT is certainly a great help, as it - among many other
    features - will allow you define whatever page element as
    "show/hide" based on a query result -- for this it´s using a
    so-called "condition builder" which lets you do that without
    coding.
    However you can achieve the same result without needing to
    resort to ADDT -- by using a basic "if" condition that´s
    checking the respective table column for having the value "1"
    stored, and if so, display the page segment
    The following 3 examples should work when replacing the
    sample "queryname" with the query name your page is actually using:
    <?php if ($row_queryname['photos'] == '1') {?>
    display photo icon here
    <?php }?>
    <?php if ($row_queryname['videos'] == '1') {?>
    display video icon here
    <?php }?>
    <?php if ($row_queryname['reviews'] == '1') {?>
    display videos icon here
    <?php }?>

  • My hp laserjet m2727nf will not work until i shut off power and power back on.

    My laserjet will not work until i power off then power on after every printing job. It first started happening over the weekend when it sat idle for 2 days. Then it was once a day and now every time i need to print. What could be the problem?

    So i didn't read anything about the suggestion about the configuration report?
    I would recommand turning off wireless (if it has it), unplugging usb, unplugging network cable, unplugging fax cable. Then i would reboot the printer go to the Menu and in Reports try to print a "Configuration Report".
    If it still doesn't print i would unfortunately then may be try resetting it back to factory default. perhaps there is some setting that is causing this issue. Also causes printer to fully reinitialize itself. There should be a button in the menu and setup to set back to defaults.
    Let me know if any of that helps and what the results of trying to print an internal report are.
    I am an HP Employee.

  • Mail Fails To Connect In My Office Network, Works on Reboot

    This is baffling me and my network admin:
    Mail fails to connect to any of my accounts at work. But it recovers if I reboot my machine.
    Here is what happens:
    - Mail works just fine at home. Connects to gmail, iCloud, and a 3rd party email account no problems.
    - I get to the office
    - I log in to the office WiFi with my password - for this I have to open a browser window, and enter my credentials.
    (I kind of assume that this is the problem ^^)
    - All my internet connections work fine, I can use the browser to access Gmail etc
    - Mail refuses to connect to any of my email servers, and all accounts go offline
    - Connection Doctor says "Mail can connect to the internet" but all individual connections are red, not reachable. I checked "detail" too - its empty.
    Then I reboot my Mac, and after that everything's happy. Mail connects to my accounts normally, and Connection Doctor marks all as green.
    Since it works on reboot, we can rule out network problems like closed ports etc. So the only thing I can think of is that Mail initially tries to connect as soon as I am on WiFi, then hangs (because I am not logged in yet), and somehow this hang is of a kind that does not recover (I've left it on for hours at a time, no difference, it never recovers).
    Anyone have any ideas about this? Is there some way I can restart networking daemons to kill the hung connections. Or any other way I can diagnose this?

    A captive portal, which is what you have, can work in any of at least three ways: by HTTP redirection, IP redirection, or DNS poisoning. I'm guessing that yours is the last type. In that case, a TTL of zero should be used. If the TTL is non-zero, then Internet applications may not work until the DNS cache is flushed. That happens when you reboot.
    You should discuss the possibility with your network admin. If the network configuration isn't going to be changed, you may be able to avoid the need to reboot by flushing the DNS cache manually, as described in the article linked below:
    OS X: How to reset the DNS cache

Maybe you are looking for

  • How to find out the user Country code in flex

    Hi all,           I want to find out the country code, to load dynamic localization swfs.   example : my swf file name                  en_US_res.swf by using capabilities.langueage am getting the local user langueage, am not able to find the locale

  • I just purchased a MacBook Pro and I can not use my Clear broadband.

    I just purchased a Mac pro book and I can not use my Clear broadband. A message pops up saying the operating system is running in 64 bit mode . Please switch to 32 bit mode.  How do I swich the mode and will this cause problems. There must be other M

  • Features in ECC6 - MM

    Hi, What are all the special features available in ECC 6 than in 4.7 in MM module for purchasing. Is there any value added reports available on controlling spends in MM. Thanx Kalaa

  • Photo Shop 5.0 Download

    Can I download Photo Shop to a new computer,  after downloading it had been downloaded to my old computer?  I bought it several years ago.

  • Oracle Receviables customer data collection test

    Hi Oracle Receviables customer data data collection test note:245256.1 how can i find which script(sql) i have to use to get this output Thanks