Jump to content

ekips

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ekips's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hello. I have been working on this bug for days now, and have scoured these forums and the web to no avail. I am fairly new to PHP, so please forgive me if I don't provide the right info. here is the problem: as of 9 days ago, when someone arrives at a document on our site via google (or directly to a document on our site via any method), and they add it to their cart, and then navigate to the cart, it is empty. if you navigate around the site first, all is well. here is the grand anomaly: i have the EXACT SAME code running on 80 and 9090 (normally, 9090 is a testing site pointing to its own directory, but since this bug surfaced, i've changed things). The bug can be reproduced over and over again on 80, and never on 9090. they are also using the same db. here is how to recreate it: go to http://www.examplemotion.com/legaldoc/view.php/112 and add to cart. check the cart by clicking the "Cart" link in the nav. it is empty. now, go to http://www.examplemotion.com:9090/legaldoc/view.php/112 and add to cart. check the cart by clicking the same nav link, and the doc is there, in the cart. ??? clear your cookies to reproduce, and, don't be logged in. here is some background: i am using Qcodo 0.5, PHP 5.2.6, apache 2.2, mysql 14.12. box and services hosted by godaddy. i have reverted the repo (SVN) to a known working version with the same results. in any file that you land on, including view.php, there is a call to require_once(../includes/prepend.inc.php) which calls session_start(). although, i understand that is implicit with any $_SESSION['foo'] assignments. in any case, session_start() should be called within prepend.inc.php. the id of the doc is successfully added to the session variable $_SESSION['cart'] in an array, and can be output to the page after adding the doc, but when you navigate away (either by going to the cart directly, or clicking 'checkout'), the session variable has disappeared. when clicking on checkout, it should take you to the register/login page, unless the cart is empty, in which case you are redirected to the search page. please let me know if you need any more information. any help would be _very_much_appreciated_!!! thanks!
  2. thank you! those were exactly the answers i needed to make sure i am moving in the right direction. now, off to learn some XAMPP.
  3. hey wildteen, thanks for the reply. i am aware that i can edit PHP in any text editor, but then I'm not sure how to piece the project together (where is the db, how do i debug, etc?). i'll have to troll through some more introductory tutorials soon. with eclipse, I've installed PHPEclipse, but have not been able to get it to work, so I'll have to keep at that too. I guess what I was looking for was some sort of *.project file that might tell the IDE how the project is laid out. if you have any good sites for a newbie to get acquainted with with PHP, I'd love to hear about them. thanks, `e
  4. Hello All, I am a novice programmer and completely new to PHP. My friend had a website built for him by some contractors a while ago, and is now looking to make some modifications to that site. He has the active code, which he gave to me, but I am unsure how to load this project into _any_ IDE and work with it. he gave me a folder with the following layout: www/ (i think this is the entire Apache folder) - cgi-bin/ - error/ - html/ (and this should be where all the PHP lives) - _configuration/ - configuration.inc.php - configuration_pro.inc.php - configuration.sample.inc.php - database/ - definitions/ - _files/ - index.html - _logs/ - wwwroot/ - about_us.php - about_us.tpl.php - admin/ - assets/ - captcha/ - cart/ - _devtools/ - codegen.php - codegen_settings.xml - _README.txt - doc/ - drafts/ - dtrMostDocs.tpl.php - dtrRequests.tpl.php - footer.inc.php - forgot_password/ - header.inc.php - includes/ - IndexForm.class.php - index.php - index.tpl.php - ... - icons/ - manual/ - usage/ /www/html/wwwroot/_devtools/_README.txt: This directory contains the web-based drivers for Qcodo's development tools: * codegen.php - the Qcodo CodeGen web-based driver. It uses the QCodeGen and related Qcodo codegen libraries to do the bulk of the work. The index.php file simply instantiates a QCodeGen object, executes the various public methods on it to do the code generation, and creates a report of its activities in a nicely formatted HTML page. It uses the codegen_settings.xml file as the "settings" to use for codegenning. * (future tools tba) Feel free to alter the settings, inputs and/or outputs of any of the drivers as you wish. I've tried opening some of these files in PHPEclipse, but I always get some weird error. I tried installing PDT on my machine, but the All-in-One solution didn't work because I am running Ubuntu 8.04 LTS x64, and they only offer the x86 version. I tried installing via Eclipse updates, but ran into dependency hell issues :-\. so, basically, I'm hoping someone out there can tell me where to get started. Is there any IDE or text-editor that will help me make some sense of this mound of data? For a quick and dirty project, I'd like to use the "Contact Us" link in the footer and point it to a newly created form that I create. This form would be a basic "Contact Us" form that would invoke the SMTP server and send the form data to a specified email address. Any help would be greatly appreciated!!! If you need any more info, please let me know and I'll be happy to provide that. Thank you in advance, `e
×
×
  • 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.