Jump to content

EvanAgee

Members
  • Posts

    62
  • Joined

  • Last visited

    Never

About EvanAgee

  • Birthday 08/29/1980

Contact Methods

  • Website URL
    http://www.ageedesign.com

Profile Information

  • Gender
    Male
  • Location
    Indiana

EvanAgee's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks Gizmola! I'm curious, since there isn't a well-known (or suggested) method for dealing with this case, is there a better workflow that I haven't yet considered? I know it's possible to have 2 different projects, but I figured there had to be some way to connect the projects together and share updates between them. I'll have to research the svn sandboxes idea. Thanks much!
  2. Greetings All, I'm new to subversion, but I have it setup on my web server (MediaTemple.net) and I've been able to successfully create a repository, etc. My question is more about workflow. So the situation is quite common, I have www.mywebsite.com that's the live/production version of my project and I have beta.mywebsite.com which is a test/development version of the same site. About 99% of the code base is the same for both sites but they're are some configuration variables that are different to keep them from interfering with each other. My goal workflow is this: 1. Make an update on my local machine, commit those changes to beta... 2. Preview those changes on beta to make sure all is well 3. Pull (or update) those changes into www once I've verified that everything is good to go. Could anyone give me a little help with how I would set this up? I'm not sure why it has been so confusing to this point.
  3. Hello all, I'm trying to zip up a large site, about 20GB and download the zip file to my local machine. I've managed to get the zip file created on the server and then download the file, however when I try to unzip the file on my Mac via the terminal I get the following message: End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of httpdocs.zip or httpdocs.zip.zip, and cannot find httpdocs.zip.ZIP, period. The server is a MediaTemple Nitro server. Any clues what's going on?
  4. Hey all! I've got an RSS feed that I'm generating using a Smarty template. The feed is being generated just fine, but Google Reader (and probably other RSS aggregators) aren't picking up on the feed <title> attribute correctly. Instead they're using the <title> from the first <item> in the feed as the title. Below is the feed URL. Any help would be great appreciated. http://www.memoryupgrade.pro/blog/feed.rss
  5. So I've got a content management system that stores page content/data in one table and assets (images, videos, etc) in a separate table. I know I can use a JOIN to get all of the data with one query, but I'm looking to match the resulting output with the PHP array I'm currently using to distribute the resulting content to the Smarty template. Currently I get all of the page data and set that array to $page. Then I do a second query to get all of the assets and set that resulting array to $page["assets"]. So, I'm wondering if there's a good way to take my new JOIN query and structure that result so rather than having one large 1 dimensional array I have an array that's setup with all of the results from the assets table as an element of the content table result array. Hope I'm making sense
  6. It ended up being a problem with register_long_arrays in php.ini. It was ignoring the array completely! I can't see how that would ever be useful to anyone, limiting array size. Changed, and problem fixed.
  7. So this is my php: $sql = "INSERT INTO $content_table (".implode(", ",array_keys($cFields)).", timestamp) values (".implode(", ",array_values($cFields)).", now())"; For whatever reason I'm getting this error: An error occured when we tried to create the page. Please contact your system administrator. Here is the error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' timestamp) values (, now())' at line 1 Statement executed was: INSERT INTO tiger2_content (, timestamp) values (, now()) HOWEVER, this worked fine under PHP4. Ideas? $cFields is obviously an array that I'm constructing dynamically using $_POST variable values. Any help much appreciated!
  8. SOLVED Just had to add: RewriteCond %{REQUEST_URI} !^/index.php after RewriteCond %{REQUEST_URI} !^/admin/ Thanks everyone, now I can go into Monday with a clean slate and ready to work!
  9. I get a "RewriteLog not allowed here " error when I try to place the log file in the same direcotry as my error_log, etc files are.
  10. No I haven't, do you know of a particularly good tutorial to get me started?
  11. Originally I was getting a 500 error because my php file that controls all of the various URLs is index.php, so I was getting a too many redirects error. I fixed that problem and now I'm just getting a 404 error. Again, this was working fine on my last server with the same host.
  12. This one worked on my old server: RewriteRule ^(.+)(\.php|\.html|\.htm|\/)$ /?p=$1$2 [QSA,L]
  13. I don't believe that's it because some of the RewriteRules higher on the list work correctly.
×
×
  • 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.