Jump to content

mojito

Members
  • Posts

    74
  • Joined

  • Last visited

    Never

Everything posted by mojito

  1. I have a good discussion here and a very good question to ask. What is there in the way of technologies or tool kits that can enable me to develop front end (dhtml and ajax etc) rapidly with backend support. My prefered environment is LAMP, but just would like to know what is available. Im looking at the following possibilites RUBY -http://www.rubyonrails.org/ only have the one now ! maybe this isnt up to the job ? What we really should be doing is for example the following Say I need a dropdown which populates another dropdown, I would like to just drag that dropdown to my page and have the ajax functionality somehow attached, similarly I would like wysiwyg editors come along with the text fields. This makes my application very much web 2 no ? and fast to make, im not the fastest php developer and ajax is new but I understand the principles. I think basecamp.org is made with ruby and it has very slick ajax stuff in it. I have gone to lengths to make my backend (via html forms) very user friendly but ajax is surely the way so we dont have page refresh. But it really pushes up the development time no ? Is there a technology you know about I should be looking at ? thanks for insightful replies
  2. I would like to get an idea of what you peps think about our website [url=http://www.landed.at]http://www.landed.at[/url] its for travel businesses to post their info in a specific country and for travellers to find that bit of advice via a SMF board. I did want to add a journal thing to it. and use the google maps with their api to "pin" and track trips but its all very overwhelming right now. All opinions welcome. If you have a travel tip or know of a great destination and why please find the country and post a two liner... Please register at the least until I get 200 folks as then i can put my forum in the specialist forum databases :) thanks
  3. As developer for roatanet.com I was tasked with setting up a forum. I know SMF quite well however it was decided (for support reasons and that we were told we would get help with setting up payment per post options) to go with Invision Power Board. After many problems installing it and problems getting support ?!@#$ it was installed-there was a bug in their code which our particular VPS didnt like. Now we see there is no easy module to do say a most recent topics thing. I can no longer get support due to them affecting my login ! nice. We are trying to resolve that. It all is (how can I say) a little less than smooth. I know this forum used to use IPB for its forum and they switched to SMF, and I guess someone here developed a recent topics module before for IPB ? Has anyone developed something like that. I am aware of ssi.php in the tools folder of the download of IPB, but it needs some work and im loathed to get into it if it already exists. Due to the poor customer support I'm asking here. Thanks for any help. mojito
  4. I am using a content management system called joomla. So its a particular code for my mod rewrite, its quite an in depth thing and you would need to check a tutorial on it. It uses regex to match up the string , do a search through the other posts here, im affraid it would be the blind leading the blind this time other than that hope that helps
  5. It did start to work after I complained to them funnily enough but the didnt say (admit) they made any changes. good luck m
  6. Thanks anyway fenway, I will post anything of interest on this, will no doubt come across it again. c
  7. so then its the table definition which is being incorectly written. I may post below an example of the sql for a table. [code]DROP TABLE IF EXISTS `default_classlistingsdb`; CREATE TABLE `default_classlistingsdb` (   `classlistingsdb_id` int(11) NOT NULL auto_increment,   `class_id` int(11) NOT NULL default '0',   `listingsdb_id` int(11) NOT NULL default '0',   PRIMARY KEY  (`classlistingsdb_id`),   KEY `idx_classlistingsdb_class_id` (`class_id`),   KEY `idx_classlistingsdb_listingsdb_id` (`listingsdb_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `default_classlistingsdb` -- INSERT INTO `default_classlistingsdb` VALUES (1, 1, 1); INSERT INTO `default_classlistingsdb` VALUES (2, 2, 2); [/code] I can see the auto increment value above, so it looks like it is being ignored. For some reason it seems to be working now, but im not crazy and it did this a previous encounter a month ago, and i ended up manually putting in the auto_increment. ?
  8. Why is it that this very serious oversight isnt well documented. I mean I'm struggling like hell to understand why my sites break and then have to go through every single table to manually add auto increment to the field "extra". I export correctly with complete inserts and the other things but this never works. Incidentally I have to export to a lower version to avoid sql errors. Is this the problem? I would prefer to do it command line but not all hosts allow ssh in to their db. grrrrrr....Would appreciate some understanding on this thanks. PS there is no link to a forum on mysqlfreaks.com
  9. couldnt find a link to a forum over there so will continue with this site. m
  10. I need to enable mod_rewrite through .htaccess. Is this possible. I got this back from myhost godaddy [quote]Thank you for contacting customer support. You may enable the mod_rewirte through a .htaccess file. As we do not provide scripting, coding or third party application support through this forum, we need to forward this issue to our Advanced Support department. By doing so, there may be fees incurred if the issue is NOT found to exist within our systems. If you choose to have us forward this incident, a member of the Advanced Support department will contact you. Please respond with as much information as possible about this issue and a copy of the script you are using attached to your response and we will forward this issue to Advanced Support. [/quote] thanks for any help, and does anybody know if they do support this, they say they do by default phpinfo(); shows that it isnt enabled, but I would have thought it would need to be in apache config??? thanks for any clarity..
  11. Thanks for your support, i realise it is something to do with the CMS (joomla) as if the page isnt being sucked through that it is fine and works, but I need to go to that forum to check there now. thanks for the help.
  12. im assuming its a typo but you have 2x name attributes on the form. I will try this code as standalone in my ap. But it doesnt work with the ajax. thanks
  13. Hi no grey No I got you but I tried both ways as well anyway. Nothing is working, I need to return to a simple example and get that working in ff, then see why it isnt working for the ajax, though at this stage it should be very simple. I should say that this javascript is running inside a CMS joomla to be exact. But I dont think this should affect it. thanks for the help, what might I do to get a simple version working.
  14. now in my js console  i get document.places has no properties [code]var sel= document.places.getElementById("sel2");[/code] still not havin it!
  15. Thanks I tried this [code]var sel=document.getElementById("sel2"); alert(sel); [/code] returns or rather alerts "null" so it still doesnt work. hmmmmm.
  16. I have the following block of code which cant find the dropdown im trying to populate.[code] var sel = document.places.sel2; alert("sel") //clear old content   while (sel.options.length)   { sel.remove(0); } //split the incoming string to create array arrOpt which contians the pairs of content var arrOpt = response.split("|"); for(var i = 0; i< arrOpt.length-1;i++){   var arrVal = arrOpt[i].split("~");   sel.options[sel.options.length] = new Option(arrVal [0],arrVal[1]); } this is the dropdown <form id="places" name="form1" method="post" action="">   <select name="sel1" onchange="javascript:sendRequest('foo')">     <option>unnamed1</option>     <option>unnamed2</option>   </select>   <select name="sel2" onchange="javascript:alert(this);">     <option>unnamed1</option>     <option>unnamed2</option>   </select> </form> [/code] thats where the problem lies especially with the line var sel = document.places.sel2; sel should be a ref to the dropdown to save on typing etc.. but it doesnt find my dropdown. I get confused between name and id as identifiers. thanks for any help mojito
  17. Thanks for that, it tells me that "dropdown" isnt defined from the console. dropdown is the form i am trying to submit. I didnt have an "id" just "name" for the form i put in the id="dropdown" but it still isnt working, at least I know it is calling my function. The function just tries to submit the form... dropdown.submit(); alert("function called"); i didnt know ff would stp the function if it failed on a line, in this case the first statement is failing and not running alert. so i now know i need to define dropdown somehow. Do I need to do document.dropdown.submit(); YES I NEED document.dropdown.submit(); thanks all..
  18. I have a select drop down which isnt firing the onchange= "fRefresh();" in firefox. It works in i.e. and opera? what could this be. I have made the function a simple alert so I know when it is firing. mojito
  19. No i mean inserting them in the url like www.roatan-diving.com/roatan/diving/photos/1/0 where all is actually used is the 1 and 0 by the webpage to know which photo to show.
  20. I see the possible validity of just adding keywords to url's but maybe its penalised ? For example I am promoting roatan-diving.com and with joomla CMS the serch engine friendly url has mostly numbers and no words , so is it valid to just put some in my links then get mod rewrite to just remove them but the seacrh engine sees the words. thanks for the advice I dont know if this is worth doing. mojito
  21. Hi Guys Currently I have a contact form on a server which sends a message to the website owner, a simple contact form. I would like the from field to contain the email from the form which the user submits. I have [code]mail("freaks@aol.com", "bit of text", $message2, "From: \"$name\" <$email>\$email") or die(" \n There was some error sending the mail please contact me via email directly freaks@aol.com , sorry for the inconvienience.");[/code] this works but the from field must be being overidden from the server as it puts its own server stamp in there. Am i using mail(); wrong? I just saw this on php site If you try to set "From:" e-mail header value under Windows when it is already defined in php.ini "sendmail_from" value, this will doesn't work. If you still want to customize this value, then you must use another option like XPertMailer ( [a href=\"http://www.xpertmailer.com/\" target=\"_blank\"]http://www.xpertmailer.com/[/a] ) to send the e-mail directly to the client SMTP server or use a relay SMTP server with authentification option.
  22. Im trying to look in a single field for theoccurance of one of three strings..looking at an operator page on mysql.com i see that to get [b]or[/b] you just use a space so [code] ....WHERE virtualName='stringone stringtwo stringthree' [/code] I would like to get a hit if the field contains either "stringone" or "stringtwo" or "stringthree" thanks for any help. mojito
  23. [code]onclick="if (chkMode.checked) { chkMode.checked=!chkMode.checked;SetMode(); } document.the_form.description.value = tbContentElement.DOM.body.innerHTML;"[/code] the above is the javascript on a form which submits other fields and a wysiwyg editor which appears to come into a hidden field labeled "description" like [code]<input type="hidden" name="description" />[/code] Since i added another field there are problem with the javascript and i now get the following error in the i.e. dialogue document.the_form.description.value is null or not an object I need some clues to debug the thing. thanks mojito [img src=\"style_emoticons/[#EMO_DIR#]/excl.gif\" style=\"vertical-align:middle\" emoid=\":excl:\" border=\"0\" alt=\"excl.gif\" /]
  24. [!--quoteo(post=385789:date=Jun 19 2006, 08:08 PM:name=kenrbnsn)--][div class=\'quotetop\']QUOTE(kenrbnsn @ Jun 19 2006, 08:08 PM) [snapback]385789[/snapback][/div][div class=\'quotemain\'][!--quotec--] That error is saying that the directory where PHP wants to store the file for the sessions either does not exists or is set to readonly. Check you PHP.INI file to see where it is pointing and fix your problem. Ken [/quote] ok ,thanks for that, its strange as it creates a 0mb file in that directory and xp cant set the readonly attribute. But i can create files etc in this directory. thanks though. m
  25. [code]Warning: session_start() [function.session-start]: open(/tmp\sess_63a3q4s85t3esvcl6c2lvq6216, O_RDWR) failed: No such file or directory (2) in D:\work\rrrrrr.com\search02.php on line 2[/code] that error comes from the following few lines of code [code]session_start(); //include("header.php"); //global $type; $type=$_REQUEST['type']; echo ">>>>>".$type;[/code] as you can see i tried to remove other bits of code with no joy. Is this a tmp directory problem? thanks mojito
×
×
  • 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.