Be careful with depends!! (PHP & DB stuff)

I've installed PHP-4.3.1-3 that depends on DB-4.1 the problem is that my version of DB was 4.0 so pacman asume that there was no error.
RESULT: PHP won't start, neither apache.
Solution: Refresh package database, update DB...
Best Solution: be careful with depends inside the PKGBUILD of PHP and specify the version number of the required stuff.
greets!!,

feel free to point out any such oldepends or missing depends. Xentac and myself take care of the unofficial and unstable tree and i know there are a few [packages that need the depends fixed or even any depends at all. i try to get to such packages when i can but if someone points them out they will be fixed much faster.:)

Similar Messages

  • Problem with javascript/PHP/ oracle 10g smart quotes

    I have a problem with my php form that passes the text field to a javascript object. When I copy text from MS Word that includes smart quotes, the form inputs that into the database as ? (upside down) marks. The charset of the DB is WE8MSWIN1252. How do I store these smart quotes as regular quotes? And also if I can do any conversions on the front end (js or php). I tried doing some conversion but to no avail. Any help would be appreciated thank you. “double”

    Decide if you want your HTML pages in Windows code page 1252 or Unicode UTF-8. Then, make sure the pages are properly tagged as either "text/html;charset=windows-1252" or "text/html;charset=utf-8". Use HTTP header Content-type or the corresponding <META HTTP-EQUIV=...> tag. Then, set NLS_LANG environment variable for your PHP engine to either AMERICAN_AMERICA.WE8MSWIN1252 or to AMERICAN_AMERICA.AL32UTF8, depending on which encoding you selected for your HTML.
    -- Sergiusz

  • Having trouble with my PHP code. Appers to get stuck on a white page.

    HI all,
    I have just began having trouble with my PHP code. Was working before and haven't made any changes to the code since last time it worked.
    What happens is after the form is submitted it goes to a white page (no text just all white page) and in the address bar it has the path for my php page. what supposed to happen is either it goes to a success page or a error page.
    I've had a problem where the info entered is correct but was directed to the error page. i managed to fix that issue but i am puzzled what is happening to my php page now.
    Mind you that i didn't write this code i just took over the responsiblities of this website and i am hopping that its a quick fix.
    I appreciate any help you could give me. Thank you.
    CODE:
    <?php
       $to = '[email protected]';
          $from = '[email protected]';
            //Make sure we have some info posted from the form...
            if (isset($HTTP_POST_VARS)){
                //Clear the body of the message to be sent
                $body = '';
                //go through all POSTed variables sent
                while (list($key, $value) = each($HTTP_POST_VARS)){
        if($key <> "Submit" && $key <> "submit") {
         $body .= $key . ' = ' . $value . "\r\n"; 
                //Now building mail headers.....
                $headers = "From: ".$from."\r\n";
                //Mail message
                $success = mail($to, "Email Club" . date("m/d/Y"), $body, $headers);
       // CURL stuff.....
       $ch = curl_init();
       curl_setopt($ch, CURLOPT_FAILONERROR, 1);
       curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
       curl_setopt($ch, CURLOPT_TIMEOUT, 4); //times out after 4s
       curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
                 if ($success){
        //readfile('http://www.lvpaiutegolf.com/thankyou.html');
        curl_setopt($ch, CURLOPT_URL,"http://www.lvpaiutegolf.com/thankyou.html");
        header("Location:http://www.lvpaiutegolf.com/thankyou.html");
                else{
                 // readfile('http://www.lvpaiutegolf.com/error.html');
         curl_setopt($ch, CURLOPT_URL,"http://www.lvpaiutegolf.com/error.html");
         header("Location:http://www.lvpaiutegolf.com/error.html");
       // Output
       //$result=curl_exec ($ch);
       //curl_close ($ch);
       //echo $result'";
    ?>

    Insert the install disk and boot from it. Use disk utitlity to repair your drive and check for errors (report any errors back here) then reinstall the os. This should not erase your data.

  • Html files with included php: related files, code color?

    Hi there,
    Wow, what an active forum!
    I have two questions about html files that include php.
    Almost all my html files have this structure:
    <?php
    (php stuff)
    require_once 'somefile.php';
    ?>
    (html stuff)
    My first question is, is there any way for DW CS4 to display the files included this way? At the moment, they don't show up in related file view.
    My second question is, is there any way for DW CS4 to display the html and php code in the file in a pleasant way? The php is not red as it is in pure php files.
    Definitely not wanting to change the way I code or to change the file extensions...
    Instead, wanting to change the SW settings to make my work easier.
    With gratitude,
    Smiles
    Andy

    Hi Brad,
    Thanks for your reply!
    > The PHP coding in a regular HTML page likely won't even work in a  browser
    That's a standard coding technique...LOL... Maybe I didn't explain correctly...
    My hundreds of pages validate XHTML transitional...
    You are quite right that browsers do not interpret php code, but the  browser never sees php code.
    I will try to explain again
    The html file starts with <? php (code> ?>
    When the browser calls the html file, the server knows to process the file as php.
    It processes the php, then returns some html headers, and follows up with all the html that is after the <? php (code> ?> section.
    Thousands of php coders work like this.It's a very efficient way of building a modular website while keeping html extensions.
    By the way, related files already show in CS4 if they are in the html code.
    Are you 100% sure you are correct about the CS5 inclusion situation? You won't know unless you have built an html file that looks like this.
    <?php
    require_once 'myfile.php'>
    ?>
    <body>
    hello html
    </body>
    Your myfile.php might look like this:
    <?php
    echo 'hello php <br />';
    ?>
    If you have never used php in an html file, you will probably need to add something like this to your .htaccess file:
    AddHandler application/x-httpd-php5 .php .htm .html
    It tells your server that php processes not only php files but also html files.
    Warmest wishes to all,
    Andy

  • Problems setting up testing server CS5 with existing PhP site copied to hard drive

    A couple of years ago I dabbled in CS3 & PhP, but haven't touched it since 2009.  I still have WAMP loaded on my machines.  I'm now in a work situation where I was asked to see if I could make some simple copy updates to sites written in PhP.  I copied the entire sites over to my hard drive, and placed them in the WAMP www root folder, and followed instructions to setting up the site in CS5 (which is pretty close to the CS3 setup).  I made sure WAMP was running, and I'm still unable to connect. I am using "localhost" as part of the URL for the web server designation. I continue to get an "internal server error" message on these pages.  I am able to, from my browser, type in "http:localhost" and it appears that WAMP is running properly. And I do remember to start WAMP before I start a DW session.
    So, I kept experimenting.  If I define a new PhP site and create a test document with simple PhP code, the connection to the testing server works and renders the code.  It's just the existing PhP site I've copied over generates the Internal server message.
    Is there something basic I'm not understanding about viewing and manipulating a PhP site created by someone else using DW CS5?

    The first question: on what platform? Windows - Mac?
    I only succeeded in setting up a testing server on my Mac
    with PHP and MySQL after reading a book of David Powers. On Leopard
    I belief there still are problems connecting PHP to MySQL.

  • Mandatory fields on the same page with dependent LOVs

    Hi,
    I am working on an ADF-BC application using JDeveloper 10.1.3.4
    I have an ADF Creation form with dependent LOVs and while implementing dependent LOVs we set the autoSubmit property of the selectOneChoiceListBox as true.
    If I have some mandatory fields on the same page then because of the autoSubmit property set as true whenever I select a value in the list the page gets submitted and the mandatory fields give an error that the values are required therefore I had to remove the mandatory fields.
    I tried using f:subview but even that dint serve the purpose because what I want is something like partialSubmit so that my mandatory fields do no give an error when I select a value in the list.
    Can somebody help me on this, how to have a dependent list and mandatory fields on the same page.
    P.S: It is very crucial for my application
    Thanks,
    Raksha

    Hello,
    This bug has been around since 10.1.3, its even still present in Trinidad and now in 11.
    One of the ways to avoid is to make your fields use:
    showRequired="true"instead of
    required="true"I have not found a decent way to avoid this in general.
    My idea was that this shiould be possible with a phaselistener and determine if this is a partial page event instead of a normal submit, but this didnt work.
    -Anton

  • I just bought a Shuffle for my wife. I have a Touch. When I plugged the Shuffle in for the first time it sync'ed with all my Touch stuff and filled up. I have created a playlist that I would like to install on the Shuffle. How do I keep the Shuffle from s

    I have a Touch. It sync's automaticly when I plug it in. I like this.
    I bought a Shuffle for my wife today. I want to put a playlist on it. When I plugged it in for the first time, it sync'ed with all my Touch stuff and is now full.
    How do I empty the Shuffle.
    How can I plug the Shuffle in if it automaticly fills up with my Touch stuff?
    I have windows xp.
    Thanks,
    Jeff

    Some apps that you download on your iPhone may possibly be to new for the iPod touch 2nd gen. I have a iPhone 5 and a iPod touch 2nd generation myself. If you plug his ipod into iTunes and restore it from a backup of your iPhone than it will download the paid apps and music that are compatible with his ipod. Hope this helps.

  • I need help with DW, PHP & MySQL please.

    Hello, I am new to website development and am trying to set up a form for collecting data on my website and have a question that I can’t find an answer to anywhere else. I was wandering if someone there would be kind enough to help?  I am using Dreamweaver in CS4 and my host already has PHP & MySQL installed on the server that I can use.  My question is: Do I need to download XAMP or WAMP on my computer before trying to connect my form to the server?  Also, do I need to change the page I am putting the form on to .PHP extension or can I just embed the PHP form into an existing HTML page?
    Most of the training tutorials I’ve read don’t start at the most basic beginning but rather expect people to already have a basic knowledge of the topics they are trying to learn.  If anyone knows the best place to get answers to the most basic questions like this one or a beginners guide to working with DW, PHP & MySQL I will gladly go there rather than waste your time on questions you’ve probably already answered a bezillion times.
    Thank you for the help.

    Strictly speaking, you don't need XAMPP or WAMP on your local computer. But if you're serious about getting involved with PHP/MySQL, you should definitely set up a local testing environment with one or the other. It's safer and more efficient. Don't expose all your errors on a live server. You can find instructions on  how to set up a testing environment here: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html.
    To develop with PHP, you should always use a .php file name extension. Any other choice is very rare.
    There's a tutorial on building your first dynamic website with DW here: http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html.
    For more in-depth help, you might want to consider grabbing hold of a copy of "The Essential Guide to Dreamweaver CS4 with CSS, Ajax, and PHP". (Yes, I wrote it, so it's a bit of shameless self-promotion, but you'll find it answers many of your questions - and probably a lot you hadn't even thought of.)

  • How to use spry in the dreamweaver with the php/mysql

    hello,
    Iam new to the spry framework
    and i want to know can we use the spry in the dreamweaver
    along with php / mysql code
    if so please tell how to do this
    thanks in advance

    swetha123 wrote:
    > but when i complie this page it is not showing the
    preiew or any thing in the
    > browser i saved this page with the extension .php if i
    run the same page with
    > .html then i can see the design but it is not being
    executed
    The reason you get nothing when you save the page with a .php
    extension
    is because you have display_errors turned off, so you can't
    see the
    error message telling you there's a syntax error. The
    semicolon is
    missing at the end of this line:
    > echo "<font color='white'>Hello
    Swetha</font>"
    The reason it doesn't work with an .html extension is
    probably because
    you haven't uploaded SpryAssets/SpryTabbedPanels.js. I have
    copied your
    page and tested it locally with the correct JavaScript file,
    and the
    tabbed panels work as expected.
    There are lots of other mistakes in your page. You can't use
    float and
    position:absolute on the same element. In at least one place,
    you have
    used </br> instead of <br />. You have also got
    an closing paragraph tag
    after the paragraph that contains abc.jpg.
    Getting Spry or any other JavaScript library to work
    correctly relies on
    good, clean code. Your mixture of inline styles and font tags
    is going
    to make it difficult to incorporate Spry into your pages. I
    suggest you
    improve your HTML and CSS before bringing Spry into the mix.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Problems with Apache PHP Mysql

    I tried doing an upgrade from Tiger to Leopard server but was having lots of issues while working with the virtual sites I have hosted. I tried a clean install and I was still unable to get Apache php and mysql to work together. Each service was starting fine but when I would try to run a php file it would only display a white page. Under the upgrade instead of displaying the page it was downloading any page I tried to load.
    In the new clean install I enabled phplib5 through server admin but even a simple info.php file with <?php phpinfo(); ?> was only giving me a white page. I dont know if mysql was interfacing with php and apache at this point cause I could not get any further. I mainly just want to be able to run wordpress which is a php blog that uses a mysql database.
    I have heard some people talking about mamp installs and not using the stock web services but I did not know if that would be a smart route to take.

    well the problem come in that you could end out with multiple releases of the same application when the idea is to make one package "stable"
    would you rather have a debain package data base that has seventeen apache's or one stable full featured apache?
    as for a server/stable tree for production machines this is coming. implimentation is not the trouble it is time that is a factor.

  • Authentification with Java, PHP, .htaccess

    Hi there,
    I am thinking about creating a Java project that requires some authentification routines.
    Users (which are given a unique user ID) are employing a client software (Java) that retrieves specific data from a webserver (available ressources HTML, SSI, PHP, .htaccess).
    A user should be able to use any client to get his data from the webserver, so unique client IDs are a non-option. Probably two users might even use two instances of the same client on the same machine (means, same IP).
    I want this to be reasonably secure, so no plaintext protocol. I thought about something like a challenge - response architecture, BUT...
    ...how can I do this with only PHP (server) and Java (client) as options?
    I don�t need a polished, smooth, perfect solution - a rough idea will do. Are there any secret / public key architectures with ready-to-use PHP modules that are also implemented in Java? Or has anybody a completely different idea I haven�t thought about yet?

    Have a look on RFC 2617 from IETF (www.ietf.org). This RFC specifies two mechanisms for authenticated access to HTTP resources. .htaccess is based on these mechanisms. Unfurtonately, they are not secure enough. The first protocol, BASIC, sends clear text username/password. The second, DIGEST, sends digests of the username/password using a challenge-response scheme. The disadvantage of DIGEST is that the username/password needs to be stored in clear on the server-side.
    What you could do, which is something I am currently working on myself, is to implement your own protocol, based on this RFC. This is possible because you are in control of both the clients and the server. It wouldn't be possible if standard browsers where used as clients.
    Good luck!
    /Christer

  • Be Careful With Apple Authorised Services in Russia

    Dear Society,
    I have bad experience with contacting one of authorised services which is published in Apple web site. It is a company called "Service.OK" and situated in Zelenograd in particular. My MacBook Air 2,5 years old got to have a problem with a screen after few drops of wine leak inside from the vent area where black panel is situated and served for monitor and keyboard panels junction. I have not expected the problem with the laptop because the glass of wine feltdown far away from the place it is situated however it was lying upside down and closed. So drops still most probably go inside. After certain period of time I switched it on and started working. Suddenly the screen goes blue and later fade away. Next day I brougt it to the address where this "Service.OK" is situated for diagnosis.
    In a week I got a call from the service where they offered to repair for about 7500 RUR in cleaning the oxidation that was caused by the wine. I gave my permit for this operation. After a week time I got a new call from the service and they informed me that they were unsuccsesful with reparing it and my laptop requires to change the whole screen panel. The price of it was 23000 RUR. This time I was angree that this company is not able to do right diagnosis and I do not know what to expect later even if changing the screen panel will be unsufficient for them. I asked them to stop any actions and return the laptop back to me. I promise to compensate thier effort for diagnosis though. The service said that I can pick up it after receiving sms notification.
    13 days left and I got this sms notification. I was back from the business trip and came there in 5 days. And (what a surprise!!!) I got another display panel assembled to the keybord panel with my serial number. I am 100% sure that it is not mine from the scratches I had on the top/screen panel. I rejected to take it and called to
    (A) Service.OK contact number claiming that and
    (B) Apple support contact number desribing the problem.
    (A) Service.OK informed me that my laptop was not delivered to them. The company which is operating on the address where Service.OK is shown in Apple web-site is no longer their representative point. It is another company as far as I unvestigated. However I got
    (1) a receipt with Service.OK web address reference,
    (2) Service.OK web site contained an information about my laptop being received and reviewed and
    (3) Service.OK point shown on their web site is the same where I gave my laptop.
    (B) Apple support specialist Natalia was responsible to communicate with me about my claim. She promised to report about this problem to higher department responsible for servises authorisation in Apple. However I was really dissapointed that no actions toward Service.OK was made by Apple. It is still on the authorised services list on the same address where I gave my laptop. She can only sorry to me because Apple has no legal company in Russia to handle this situation and thier company is just for providing support.
    So I have a situation that neither Apple nor Service.OK are not willing to take responsibility that my laptop does not received qualified diagnosis under Apple authorisation and additionally its parts were changed while this diagnosis.
    I am now consulting with lawer in order to investigate opportunity to claim about this problem to either Service.OK or company that issued an official receipt (or even propably to Apple) in the court.
    Thus I would like to underline following statements:
    - Be carefull with authorised service centers in Russia. Apple seems to do not care about what is going on there.
    - Never deal with point in Zelenograd and be careful with other Service.OK points.
    - Know your laptop serial numbers before giving it to diagnosis otherwise it is unable to prove own position.
    I will be thankful if anybody from society had such problem in the past and may give any advice. Any opinions are welcome.
    Thanks
    Dimitri

    You need Admin access to install and setup iCloud correctly.
    Download the installer, rightclick on it and select Runs as Administrator and supply an Admin login when asked.
    Well you would if you were running Windows, which I see you are not ........

  • Problem while creating row with dependent select one choice in adf  table

    Iam having independent and dependent select one choice in a ROW in adf af:table
    unable to insert more than one row with dependent select one choice using create insert in adf table.
    Able to add more rows in UI af:table but ,ignoring previous rows (select one choice values) and only latest current row values is getting inserted to the database.
    Following is the code used to create row and for pointing to the current row
    public void addRowOnSecSettings(){
    SecurityGroupSettingsVOImpl SecGroupSetVO =(SecurityGroupSettingsVOImpl) this.getSecurityGroupSettingsVO1();
    try{
    int rowCount = SecGroupSetVO.getRowCount();
    SecurityGroupSettingsVORowImpl SecGroupSetRow =
    (SecurityGroupSettingsVORowImpl)SecGroupSetVO.createRow();
    SecGroupSetRow.setNewRowState(Row.STATUS_INITIALIZED);
    SecGroupSetVO.insertRowAtRangeIndex(rowCount, SecGroupSetRow);
    SecGroupSetVO.setCurrentRowAtRangeIndex(rowCount);
    SecGroupSetVO.setCurrentRow(SecGroupSetRow);
    } catch (Exception e) {
    e.printStackTrace();
    Regards,
    Bhagavan

    as it is dependent select one choice ,have already put auto submit="true".but no chance ,
    if i add two rows vo rowiterator showing count 2 but only current row select onechoice values are getting where as previous row select one choice values are null.

  • Interfaces with dependency

    Hi experts!
    I would like to know the best way to handle interfaces with dependency in XI.
    I have a range of 60 interfaces that can only be processed if the last one was sucessful processed. I thought that I could use BPM to handle this, but with so many interfaces in a dependency range is still a good solution?
    Points will be given!
    Regards,
    Daniela

    Hi experts,
    Has anybody ever needed to control dependencies in a File to file scenario?
    I took a look on Karthikeyan K's weblog, but I have some questions if it is possible to do this even if my scenario doesn't have a ECC side.
    Points will be given.
    Regards,
    Daniela

  • Okay my phone was working just fine and I locked it and went to unlock it and now it just sits on the black screen it wont even show the lock screen I dont know what to do but I am very careful with my phone anyone know how to fix it? Plz and thank you!

    Okay my phone was working just fine and I went to unlock it and it wont show the lock screen it just remains black please if anyone can help me fix it it will be much appreciated, I am very careful with my phone so I dont know why its acting like this.

    I'm glad to hear that they replaced your phone. Any experience I have had with Apple customer service and/or Genius bar has been extremely positive. While I have had positive outcomes from trouble with other phones in the past, they are not as quick and  friendly. I had a Motorola phone and a Samsung phone go bad several years ago and warranty work through AT&T required that I wait for a replacement unit and then mail back the original unit to keep from being charged for the device. This usually meant almost a week without a phone. Nice to walk into Apple and walk out with a replacement device. Enjoy your phone.

Maybe you are looking for

  • Manually sync iphone & restoring files for particular app on particular date

    Hi, I opened up a text file for a particular application (PlainText), and accidentally deleted some stuff. I was under the impression that app data got synchronised, so I thought that I would be able to examine the unmodified text by opening up itune

  • Removing app (no longer in App Store) from Game Center

    So I wanted to remove all the games from my Game Center account that I don't play anymore. The way I've been doing this is re-installing the app and "removing from game center" after I deleted it again. There are a few game which are no longer in the

  • Re: BT is the worst company I have ever dealt with...

    Guys if you listen to my story you would feel your problems do not exist. I got an offer from sky to come back to sky and I took it at the start of this month. I had a BT line and wanted to use it for calls on ongoing basis . I wanted to keep my BT s

  • Odd iPhone DHCP behavior.

    I'm getting strange ARP/DHCP behavior with an iphone on a local network. The output from arpwatch (on a linux system) shows: May 14 12:23:43 milonga arpwatch: bogon 0.0.0.0 0:1b:63<protected> eth0 May 14 12:23:44 milonga arpwatch: bogon 0.0.0.0 0:1b:

  • Default "from" email address in Mail?

    How do you set which of your email addresses is the default for a new message?   Mine seems to be unpredictable, and I end up sending emails from the wrong address sometimes. Thanks Bob