Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Naoise
  • Order by date
  1. Naoise

    simple httpd.conf problem?

    Can anyone help me with this? Is it just a case of downloading mod_php.exe and placing it in the modules directory? Any replies appreciated
  2. Naoise

    simple httpd.conf problem?

    hmmm, so I cannot see a mod_php in the modules directory where Apache is installed. Is it just a case of downloading it and placing it in this directory? To the other post, I have tried using strict php tag delimiters before and it just gave the same error unfortunately.
  3. Naoise

    simple httpd.conf problem?

    [date] [error] [client 127.0.0.1] Premature end of script headers: php.exe Upgraded to Apache 2.0.52 and PHP5 and previously working code gives the above error. Even a simple <? echo "test"; ?> gives this error. Is this a php.ini problem or a httpd.conf error? I know that everything in...
  4. Naoise

    root password

    So the root password was set to something that is currently unknown, how can I go about resetting it? I can see in the mysql database, ie the following path C:/program files/mysql/data/mysql in the file user.MYD that the user root appears to have password root but it does not seem to work...
  5. Naoise

    Premature end of script headers: php.exe

    Can anybody help me further on this?
  6. Naoise

    Premature end of script headers: php.exe

    I'm running this as as Apache plugin and I had tried to see if using strict php tag delimiters worked but it did not. Would it be of more benefit to post my http.conf or php.ini contents (large as they are)?
  7. Naoise

    Premature end of script headers: php.exe

    [Fri Oct 05 22:08:15 2007] [error] [client 127.0.0.1] Premature end of script headers: php.exe Just upgraded to Apache 2.0.52 and PHP5 and previously working code gives the above error. Even a simple <? echo "test"; ?> gives this error. Is this a php.ini problem or a httpd.conf error? I...
  8. Naoise

    DataGrid formatting question

    I meant that usually I can pass the ID's I need to a code behind function using <asp:EditCommandColumn> and setting the OnEditCommand of the DataGrid but here I cannot nest <asp:EditCommandColumn> within this <asp:TemplateColumn> tag and there are strict display instructions with the design. How...
  9. Naoise

    DataGrid formatting question

    I don't see how ItemDataBound can help me add the DataKeyField to the onserverclick event of this line? <a href="y.aspx" id="lnkClickMe" onserverclick="lnkClickMe_Click"><img src="images/x.gif" /> click me</a> If I set the OnItemDataBound attribute of the DataGrid to SetIDs ike this... Sub...
  10. Naoise

    DataGrid formatting question

    No RowDataBound for DataGrids unfortunately.
  11. Naoise

    DataGrid formatting question

    I have a datagrid which uses an TemplateColumn due to formatting restrictions. Inside this I wish to have an image link that when clicked fires a sub() and passes in the particular MyID for that record. Usually I can achieve this with the <asp:EditCommandColumn> and setting the OnEditCommand of...
  12. Naoise

    ALTER TABLE and VIEWS

    So if a view exists with something like CREATE VIEW vwFoo AS SELECT tblA.*, tblB.x, tblB.y, tblB.x FROM ... and elsewhere in business logic or stored procedure you have something like SELECT * FROM vwFoo if you actually have altered tblA then you need to rebuild the VIEW, why on earth is this?
  13. Naoise

    BEGIN TRANSACTION statement, where to place?

    So say you had a number of different dynamic update statements to perform in a cursor, how would you go about managing them in transactions?
  14. Naoise

    BEGIN TRANSACTION statement, where to place?

    I have a stored procedure of the general form below. Essentially 3 cursors which each perform INSERT and UPDATE statements dynamically. If I wanted to add in a "BEGIN TRANSACTION" statement where would I place this so that I don't get any of those Transaction count after EXECUTE indicates that...
  15. Naoise

    Return value stored procedure

    Cheers, exactly what I was looking for.
  16. Naoise

    Return value stored procedure

    Without explicitly passing something in the arg list of a procedure how can you access a RETURN value, for example create sp1 as begin if exists (select foo from foobar) begin return 1 end else begin return 0 end end go create procedure sp2 as begin...
  17. Naoise

    Format &lt;option&gt; tag

    IE/FF on Windows will do if you have a workaround?
  18. Naoise

    Format &lt;option&gt; tag

    How do I control the styling for an <option> tag? I seem to be able to change its colour but not its font size or weight? Any ideas? <style type="text/css"> .OrgRole { font-family: tahoma, verdana, sans-serif; font-weight: bold; } .OrgUser { font-family: tahoma, verdana, sans-serif...
  19. Naoise

    Transactions

    Usually I do implement that cascading type of commit/rollback as I pointed out in my opening post but in this particular case (a much larger stored procedure) for readability I'd rather execute things inline and have a count of errors and then at the end commit or rollback.
  20. Naoise

    Transactions

    Ok so I have changed to using a variable to count errors. So the ROLLBACK/COMMIT is working but it doesn't seem to return a response to spProc2, results are (1 row(s) affected) Server: Msg 245, Level 16, State 1, Procedure spProc1, Line 18 Syntax error converting the varchar value 'test' to a...

Part and Inventory Search

Back
Top