Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. It's the same damn thing, I installed the tortuious, then I installed the dreamweaver extension, and now it doesn't work it's telling me something is not a working copy, can't find the specific path, I don't get it.
  2. Maybe I am looking for the wrong system. I am wanting to get a simple system, just something I cando what I need to do. I am getting ready to create a config folder, for websites, sort of like my idea of a general framework, with all my functions in it, my own system. I want all of those online, so I can get to them online as the master copy, and upload them to my computer into the local whenever I start a new project, something like that.  It's starting to really piss me off, I have looked at almost everyone in existence in the past 2 days.
  3. Screw it, I can't use any of them. I tried installing it to find out I have apache 1 something, I need 2. I tried cvs I can't even figure out how to install the thing, I have no choice but to build my own. I don't get why it didn't work, I did it about 7 times, I learnt a lot about python, and command line to try and get the damn thing to work. I already removed subversion off my comptuer, it's too much, I also try the other one, I can't compile binaries, and all that crap, why don't they make this stuff in php/mysql instead.
  4. I don't get this, I did the whole thing, I configure, make, and make install, now how do I get to it, I think it worked, it returned some crap a few times, like error 1, but it was doing stuff for like 10 minutes. What now though, if this doesn't work is the csv or whatever it's called easier to use.
  5. I downloaded the right versions.  untarred them both now I ran configure and I ran make after that I will run make install one thing i am wondering, will it hurt with me not having the berkely thing. Is there a way to add it on there, after I finish the whole process. Last question, is after all is said and done, how can I get to the program from the browser, to be able to actually use it.
  6. Oh I don't know what version of linux, I downloaded the zip file off there site, for the subversion, and for the dependencies.  I unzipped the folders on my computer, and uploaded everything to the server. The I tried running the configure, and it didn't do anything, the I installed it with the build folder, it worked, but at the end said I didn't have what I needed. Then I went back and got the dependencies, adn reinstalled or tried, I unzipped the dependencies, and uploaded them all to my server, and tried running it again, at the end it said I didn't have the proper managers, the overall experience taught me a bit about python, a lot about command line interface, but now I just want to get it installed. Ok I deleted them off the server. I have reuploaded the files, and the dependencies, I am going to try this again, just uploading the entire tar file at once, and doing it that way,
  7. invalid apr version, I spent a damn hour trying to install this and it tells me not the right apr version, what the hell. Can someone help me with this.
  8. see, I was going to use a config file, and have my functions set up different based on what functions, like all file functions are going to be in file.inc.php all validation related functions are in validation.inc.php ex-cetera, that's what I am working, on that was how I was thinking of setting it up, then have them all included on one page, with expressions to help me decide which ones are placed on the page.  I could just let it include them all, but that is unnecessary parsing for the php engine, Iw ould rather have it include them on an add needed basis, but including them all individually, will just get annoying.
  9. I saw someone do something before, it worked, it was just with php, I was wondering if there were other ways. What he is doing is $variable ['something']['false'] = include or whatever he has been doing programming in php for well over 3 years, someone who has been training me, but I don't know what he is doing.  then on the page he wants the include to work at, he just put's down like 1-2 words, and it's included in that page. He just puts $variable['true'] and it includes the proper ones. Also for session start he has something setup so at the top of the page, if he want's sessions start active, then when he includes his system file he simply types $s and session's are started, the same with mysql connect, but with it he does $mysql['c']['true'] or something. I don't get it.
  10. Ok I found out how to run files, I am one step closer, I ran the configure file it told me at the end no suitable apr found what do I do to get it installed I found the tar, or whatever it's called on the subversion website, I have unzipped it, and I am uploading it to my server, then I will see after that if I can get it to work.
  11. Is there a point in me having session start inclusion on a page by page basis. I know for database connection, I want it this way to save resources. What I am wanting to try. How do I set up voluntary inclusion. On a page by page basis Like I have one include, that is always included. then I have a bunch of other includes on that page, but none of them are included automatically, instead I would have to set them to true within the page itself, based on which one's I needed, this would prevent unnecessary parsing of the php engine?? How do I do that.
  12. how I tried everything I could to get that configure script to work I tried going into the subversion directory and everything I tried ./configure configure configure.in or whatever that extension was I tried going there and doing make install using the sh command I saw When I first enter command line I am in the root directory, it's in the subversion folder, how do I run a file, like that, or how do I run the configure file.
  13. Can someone help me with this, I got command line access on unix finally, after about 7 hours, of learning linux, I know enough to get around(this experience has taught me a lot though), but right now. I really, really need help with this, after about 6-7 hours yesterday total fighting with command line I can't get it. I went here. http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74 I got it here, it was the file called. [quote]subversion-1.4.0.tar.bz2 Stable danderson on Sunday, September 10, 2006 at 5:14:08 PM Subversion release 1.4.0 (MD5: f0c5fef69fccfb12ef6c8598f484ed0e)[/quote] I really need help with this, I really, really would appreciate, I don't have any more time to fight with it, unless I was in the right direction. I don't know python, I didn't really know linux.  I spent about 4-6 hours the first day learning basic python syntax.  THen I didn't know anything about linux, I thought I did, but I had never seen command line, I thought it would be useful, so I stayed up late last night studying about command line. I can do basic stuff now, if anyone can point me in the right direction I would appreciate it. I downloaded that from the site, unzipped it and ftp'd it to my server(4 hours of waiting)or 1 hours something like that, and I put it in the folder /subversion then I opened the install in teh browser I tried going into each folder, I went into subversion folder, and subversion/subversion, I went to almost every directory and tried make install and install --d directoryname and read and nothing was working thanks. it also said I need to build it from a tar or something, I think that's what I download over at that link I showed you, I would appreciate anyone who can help me out.
  14. I am downloading, and installing subversion, what is a repository though, is it going to be something on my server, or what And why do I need the command line to get it installed, it took me 5 hours, to learn command line, linux, or get more familiar with it.
  15. Way you mean install wikipedia, and use that. Ok here is the basic's of what I need to find. I don't necessarily need a text editor, i have my dreamweaver code view for that.  I need a place where I cna do folder names, upload my php, text, and notepad pages whenever I need. I need to be able to view the pages source in the browser so I can copy code out if needed.  I need to be able to compare versions, or pages. I need to be able to , move important upload them back from the server, onto my local when needed easily, of course so I can include them in my websites.
  16. after about 4 hours, of getting major crash course in python, and then another 3 hours, of failing to be able to install trac or subversion, I gave up on both of them, and there are none others out there, this may be something I am going to have to build from scratch.
  17. I decided to pick another one, I don't know python well enough to modify the code, so I found this http://asvcs.com/index.php
  18. if I can't find one, I am going to build one, I will try out subversion, I was lookinga t that. I know I like activecollab but if they don't add a few more features,I am just going to build my own project management system, I am also building a url management system, personal management system also for my website.  And attaching them to my project management system, then I need this code management system, I am getting one, if I can't find a good one, I will build that too.  I have that guy, he is going to work on some more layouts from my site, after I get one, I am going to code it, rewrite content, and send it to him for proofreading.  Then start on the backend admin layout, and whatever else I need to do on it. Also the website backup system looks pretty good, when it get's more stable I might give it a try.
  19. I will probably end up building the whole entire thing if I can't find something I like. I have a project management system now, activecollab, I like it, I think when it hits version 1.0 if it's not what I need I will build my own. I want a code management system, but don't know what they would be called, or if they even exist. A place where I can store all my basic files, php, or anything other types of files I use on a regular basis. A place for source code, and php libraries, and similar groups of pages, or whatever, or entire website backups, so I have all the source code for all the sites I ever built, something that will have what I need with it.  I don't know, any ideas.
  20. yes, I am going to start building a basic framework, for regular website creation I think. There are things I do, that I could put in a function, and then it would cut down about 30 minutes of programming time, instead just have one huge function
  21. Ok, anytime I do this kind of page, there are always the session variables for login, in this case they are $_SESSION['username'] = $username; $_SESSION['status'] = "logged"; $_SESSION['userid'] = $row['id']; $_SESSION['subdomainname'] = $row['subdomainname']; $_SESSION['email'] = $row['email']; $_SESSION['controller'] = true; Then it also get's past get statements from the previous page, in this case it's from a link, which Is the id then when the post get's those variables are passed BACK to the same page, to start up the edit. Everything works, every time I do this, everything alway's work's properly. Except the bottom portion ALWAYS disappears when it does a successful one, this isn't the only way I have tried either, every time I build one I try to get the same functionality, it's like when it runs a database call php kills everything below it, it's aggravating.
  22. I have tried to replicate this a hundred times, but it never works, so I always leave it as is, it's always related to the cms. Every time I try to replicate something like this, it's suppose to show an edit form, allow them to edit, submit, then say it was successfull but still reshow the form everytime with the new information, but it NEVER works, I have tried this in hundreds of ways, within the past few months, every other time I need to build a cms I try to get it to work right, but it never does, it is confusing, any advice would be appreciated. [code]<?php session_start(); // db connection info mysql_connect("localhost", "#####", "#####"); mysql_select_db("hasbadse_hbservice"); if ($_SESSION['controller'] == true) { if ($_POST['status'] == "edit") { $id = mysql_real_escape_string($_POST['id']); $header = mysql_real_escape_string($_POST['header']); $text = mysql_real_escape_string($_POST['text']); $edit = "UPDATE usercms SET header = '$header', text = '$text' WHERE id = '$id';"; if (mysql_query($edit)) { echo "Edited Successfully.<br />"; }else { echo "There was a problem editing this entry.<br />"; } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Edit Your File Here</title> </head> <body> <?php if (isset($_GET['id']) || isset($id)) { $id = mysql_real_escape_string($_GET['id']); $select = "SELECT * FROM usercms WHERE id = '$id';"; $query = mysql_query($select); if ($row = mysql_fetch_array($query)) { ?> <form name="edit" id="edit" action="usercpaneledit.php" method="post"> <label for="header">Header:</label><br /> <input name="header" id="header" type="text" maxlength="100" value="<?php echo $row['header']; ?>" /> <br /> <label for="text">Text:</label><br /> <textarea name="text" id="text" rows="20" cols="20"><?php echo $row['text']; ?></textarea> <br /> <input name="status" value="edit" type="hidden" /> <input name="id" value="<?php echo $row['id']; ?>" type="hidden" /> <input name="submit" id="submit" type="submit" value="Continue" /> </form> <?php } ?> </body> </html> <?php }else { echo "You did not come from the proper page.<br />"; } }else { header("Location: index.php"); } ?>[/code]
  23. [code]A well designed application will have only one point of input, and only one point of output. What does this mean in the real world? The input we can leave for now, that's something more to look at when you get into OOD/P, but with regards to output - this means all output will occur in one place. The ideal being you will have only one 'echo' or 'print' (etc.) anywhere in your application. However due to performance and readbility this is not always the actual ideal. So, for an example, all functions should return values, rather than output directly and so forth.[/code] Ok can you go over this with me a few times, I am far from familiar with this, I Don't understand. Everything I was taught, I go in, I do a layout, cut out header/footer/nav, and those are my includes, if I put them in a function, I have to mess with my php code, to get it to work properly this theory one point of input, one point of output, what is this part about, I never heard that before. As far as all the other advice, the config file makes more sense to me I am going to start constructing one, not too far from now, thanks.
×
×
  • 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.