Jump to content

2levelsabove

Members
  • Posts

    180
  • Joined

  • Last visited

    Never

Everything posted by 2levelsabove

  1. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDR; AskTB5.5) Timestamp: Tue, 30 Mar 2010 20:42:54 UTC Message: Object required Line: 53 Char: 3 Code: 0 URI: http://coreaction.com/signup/teaser.php?usernumber=002228 Message: Object required Line: 53 Char: 3 Code: 0 URI: http://coreaction.com/signup/teaser.php?usernumber=002228 Message: Object required Line: 53 Char: 3 Code: 0 URI: http://coreaction.com/signup/teaser.php?usernumber=002228 Message: Object required Line: 53 Char: 3 Code: 0 URI: http://coreaction.com/signup/teaser.php?usernumber=002228 Message: Object required Line: 53 Char: 3 Code: 0 URI: http://coreaction.com/signup/teaser.php?usernumber=002228 Message: Object required Line: 53 Char: 3 Code: 0 URI: http://coreaction.com/signup/teaser.php?usernumber=002228 Message: Object required Line: 53 Char: 3 Code: 0 URI: http://coreaction.com/signup/teaser.php?usernumber=002228
  2. Runs fine in Fire Fox firebug. IE 8 is causing an error. Any suggestions? http://coreaction.com/signup/teaser.php?usernumber=002228
  3. I will send you some samples shortly. Thank you
  4. WHy does the DOM get corrupted ? I am only using one library (jQuery) and still I run into issues where simple documented features do not work where I know the code is right. I am not a JavaScript guru but would like to know what one does if the DOM is behaving strangely?
  5. Thank you so much for the reply. That did not work also. I am also positive that my DOM gets corrupt somewhere. Not sure where. No matter what I do, I am getting the "Select a profile" prepended to the option I select.
  6. I am actually trying to get the text label instead of the value that was selected. So in my example, i am trying to get the "test1" and "Test2"
  7. Hello, I have a simple combobox : <select id="selwebsiteid"> <option value="0">Select a profile</option> <option value="1">Test 1</option> <option value="0">Test 2</option> </select> and when i do jQuery('#selwebsiteid :selected').text() to get the selected text and it comes back with "Select a profile" appended at the begining of any option i select. Any ideas?
  8. So we had a company meeting of the minds in which several ideas were brought forward. We are trying to develop a social network video application. We have several people that are pro ELGG and believe in not reinventing the wheel and to just modify it. We also have several people that say that we need to write it from scratch so we have full control etc etc and that ELGG may have scalability issues and the likes. The time frame we have is 2 months. I need a meaningful discussion. Please suggest.
  9. I know this will sound retarded but I did it because i like the object syntax As opposed to writing : $sql="INSERT INTO DB VALUES(".$_POST['test'].")"; I can do $sql="INSERT INTO DB VALUES("$obj->test")"; I know this is sad.
  10. Thanks a lot for the reply. I was actually type casting a POST array $input = (object)($_POST); and then wanted to clean up the input. Thanks again!
  11. How can I make each member data of an object mysql_real_escape_string ? Im drawing a blank due to lack of sleep. Thank you foreach ($obj as &$value) { $value = mysql_real_escape_string($value); } ???
  12. Thank you ! Now I get it.
  13. Yes I am using it within a function. Why would that not work?
  14. It doesnt let me: (is_array($videodata)) ? return $videodata : return 0; However this works $videos = is_array($videodata) ? $videodata : 0; return $videos;
  15. OK so I know how tertiary operators work $videos = is_array($videodata) ? $videodata : 0; how ever can one do actions instead of just assigning values ? for example : (if true ) ? (do this ) ( else that) OR IN MY CASE (is_array($videodata)) ? return $videodata : return 0;
  16. There are some serious A-Holes out there!
  17. There is a custom application that requires to make several web requests. Due to the frequency of requests, we have put several delays however we find out that we still get occasional bans from various sources. Once solution that was proposed was the use of proxy servers. However I have not been able to find reliable sources. How would one get about getting proxy servers? Is that just as simple as just getting a batch of IP's from our hosting provider and installing proxy server software? What would be a good number (I guess that depends on the number of requests). Thanks for any feedback
  18. Thank you. You have been very helpful. I really do appreciate it.
  19. OK so made some progress. This works however when I hover over links, they still show http://localhost/domain.dev <VirtualHost *:80> DocumentRoot D:\zend_server_ce\Apache2\htdocs\domain.dev ServerName domain.dev ServerAlias www.domain.dev *.domain.dev domain.dev #CustomLog D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\access.log # ErrorLog D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\error.log <Directory D:\zend_server_ce\Apache2\htdocs\domain.dev> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> I know I am close but not quite there.
  20. Sorry for the late reply. Got stuck at work. Any how in httpd.conf the vhosts was commented so I uncommented it. Thanks so much for the tip. Now the Apache server wont even start. The contents of my vhosts file are: # # Virtual Hosts # # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs/2.2/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ServerName or ServerAlias in any <VirtualHost> block. <VirtualHost *:80> DocumentRoot "D:\zend_server_ce\Apache2\htdocs\domain.dev" ServerName domain.dev ServerAlias www.domain.dev *.domain.dev domain.dev CustomLog "D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\access.log" combined ErrorLog "D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\error.log" <Directory "D:\zend_server_ce\Apache2\htdocs\domain.dev\"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> something in there is causing Apache to not start
  21. I know i need to buy you lunch and a beer on St Patricks. I still cannot pull up domain.dev OK here are the contents of my vhosts file: # # Virtual Hosts # # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs/2.2/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ServerName or ServerAlias in any <VirtualHost> block. # <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "d:\zend_server_ce\Apache2/docs/dummy-host.example.com" ServerName dummy-host.example.com ServerAlias www.dummy-host.example.com ErrorLog "logs/dummy-host.example.com-error.log" CustomLog "logs/dummy-host.example.com-access.log" common </VirtualHost> <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "d:\zend_server_ce\Apache2/docs/dummy-host2.example.com" ServerName dummy-host2.example.com ErrorLog "logs/dummy-host2.example.com-error.log" CustomLog "logs/dummy-host2.example.com-access.log" common </VirtualHost> <VirtualHost *:80> DocumentRoot "D:\zend_server_ce\Apache2\htdocs\domain.dev" ServerName domain.dev ServerAlias www.domain.dev *.domain.dev domain.dev CustomLog "D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\access.log" combined ErrorLog "D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\error.log" <Directory "D:\zend_server_ce\Apache2\htdocs\domain.dev\"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> I have the following in my windows hosts file: # Copyright (c) 1993-2006 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost 127.0.0.1 domain.dev ::1 localhost I still cannot get domain.dev as it says Zend Server Test Page Zend Server is now up and running on this server. Once content is added this message will no longer be displayed. If you are this server's administrator: You can now add content to your Web server's document root. You can configure and control your Zend Server installation through the Zend Server Administration Interface. Please refer to the documentation or to your installation's README file for more information. If you need help getting started with Zend Server, please visit the on-line resources page. For more information about Zend Server you are welcome to visit us at www.zend.com.
  22. When I do that, "domain.dev" takes me to the Zend Server test page "Welcome to Zend Server" bah!!!!!!!!! :S
  23. Actually I had a mistake and now I put in your code properly: <VirtualHost *:80> DocumentRoot "D:\zend_server_ce\Apache2\htdocs\domain.dev" ServerName domain.dev www.domain.dev *.domain.dev CustomLog "D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\access.log" combined ErrorLog "D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\error.log" <Directory "D:\zend_server_ce\Apache2\htdocs\domain.dev\"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> Now when I go to domain.dev, the site does not pull up Do I need to make any changes to my windows host file?
  24. [17-Mar-2010 10:56:44] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'D:/zend_server_ce/Apache2/htdocs/includes/_process/pagesecurity.php' (include_path='.:\zend_server_ce\ZendServer\share\ZendFramework\library') in D:\zend_server_ce\Apache2\htdocs\domain.com\dashboard.php on line 2
  25. $_SERVER['DOCUMENT_ROOT'] is pointing to D:/zend_server_ce/Apache2/htdocs/ where as I want it to point to D:/zend_server_ce/Apache2/htdocs/domainname.com/ Yes I did add the trailing slashes.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.