<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Hardkap &#187; Tag: image - Recent Posts</title>
		<link>http://hardkap.net/forums/tags/image</link>
		<description>Macpup, Pritlog, Pritdeals discussion forums</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Feb 2012 08:25:12 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://hardkap.net/forums/search.php</link>
		</textInput>
		<atom:link href="http://hardkap.net/forums/rss/tags/image" rel="self" type="application/rss+xml" />

		<item>
			<title>mkiredjian on "Image upload error"</title>
			<link>http://hardkap.net/forums/topic/image-upload-error#post-2149</link>
			<pubDate>Thu, 05 May 2011 05:16:02 +0000</pubDate>
			<dc:creator>mkiredjian</dc:creator>
			<guid isPermaLink="false">2149@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;Dear Greg,&#60;/p&#62;
&#60;p&#62; I'm facing the same problem can you tell me how you solved the problem there is no index.php file what you mean by this? there is the niceuppload.php file and niceit.js file and the page where I've used the nicedit please help me
&#60;/p&#62;</description>
		</item>
		<item>
			<title>happymac on "Image upload error"</title>
			<link>http://hardkap.net/forums/topic/image-upload-error#post-1629</link>
			<pubDate>Tue, 13 Apr 2010 00:11:20 +0000</pubDate>
			<dc:creator>happymac</dc:creator>
			<guid isPermaLink="false">1629@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;SOLVED - I duplicated index.php and called it administrate.php, opened it in text editor and replace every instance of &#34;index.php&#34; with &#34;administrate.php&#34;, and where it says:&#60;/p&#62;
&#60;p&#62;$_SESSION['user'] = $user;&#60;br /&#62;
  //$config['theme']      = &#34;skyblue&#34;;&#60;br /&#62;
  if (!file_exists(getcwd().'/themes/'.$config['theme'])) {&#60;br /&#62;
      $config['theme'] = 'default';&#60;br /&#62;
      if (!file_exists(getcwd().'/themes/'.$config['theme'])) {&#60;br /&#62;
          die('Error in the themes directory');&#60;br /&#62;
      }&#60;br /&#62;
  }&#60;br /&#62;
  //echo getcwd().'/themes/'.$config['theme'].'';&#60;/p&#62;
&#60;p&#62;I forced it to pick the default theme always by changing it to&#60;/p&#62;
&#60;p&#62;  $_SESSION['user'] = $user;&#60;br /&#62;
  $config['theme']      = &#34;default&#34;;&#60;br /&#62;
  //echo getcwd().'/themes/'.$config['theme'].'';&#60;/p&#62;
&#60;p&#62;Now I have default theme for (optimised for white background) editing, and custom theme (optimized for black background) on the front end :) I am sure you are gonna say &#34;But arent your fonts all screwed up? And the answer is no, because the front end theme's CSS has white text as default, and back end default is Black, so text colour is changed automatically by style sheet when it is viewed.&#60;/p&#62;
&#60;p&#62;I hope somebody finds this info helpful.&#60;/p&#62;
&#60;p&#62;Pritlog Rules!&#60;/p&#62;
&#60;p&#62;Greg
&#60;/p&#62;</description>
		</item>
		<item>
			<title>happymac on "Image upload error"</title>
			<link>http://hardkap.net/forums/topic/image-upload-error#post-1628</link>
			<pubDate>Mon, 12 Apr 2010 23:53:47 +0000</pubDate>
			<dc:creator>happymac</dc:creator>
			<guid isPermaLink="false">1628@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;I have a little more info on this now, but am still not out of the woods. The problem exists because I have Pritlog running in an iframe on a html page. I had to do this, because there was just no way I could make it work in the sites theme otherwise. And everything else works incredibly well. I can update, admin, edit, the whole lot works well. Its just the image upload. When I load the index.php into my browser directly (without the iframe) the upload works. The only problem is, I have modified the theme heavily for a black background, so when I log into the index.php, everything is set for a white background. Its like I need to use two different themes, one for the front and one for admin. Any ideas?&#60;/p&#62;
&#60;p&#62;Greg
&#60;/p&#62;</description>
		</item>
		<item>
			<title>happymac on "Image upload error"</title>
			<link>http://hardkap.net/forums/topic/image-upload-error#post-1627</link>
			<pubDate>Mon, 12 Apr 2010 21:55:55 +0000</pubDate>
			<dc:creator>happymac</dc:creator>
			<guid isPermaLink="false">1627@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;Hi - I am using the current version and when I tried to upload an image, I get this error message:&#60;/p&#62;
&#60;p&#62;top.nicUploadButton is undefined&#60;/p&#62;
&#60;p&#62;Also, the loading wheel that is meant to be hotlinked in from &#60;a href=&#34;http://files.nicedit.com/ajax-loader.gif&#34; rel=&#34;nofollow&#34;&#62;http://files.nicedit.com/ajax-loader.gif&#60;/a&#62; doesnt appear, so I assume this is all related. Any ideas?&#60;/p&#62;
&#60;p&#62;Greg
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hjay on "Image Upload not working"</title>
			<link>http://hardkap.net/forums/topic/image-upload-not-working#post-1078</link>
			<pubDate>Wed, 15 Jul 2009 17:34:41 +0000</pubDate>
			<dc:creator>hjay</dc:creator>
			<guid isPermaLink="false">1078@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;Hey, that's really good of you to look for me, thanks. I'll certainly look into that fix.&#60;/p&#62;
&#60;p&#62;My version of MAMP is 1.4.1 and the phpinfo it spits out says it's running PHP 5.1.6 - if I knew what i was looking for I could tell you how its configured!! But I haven't a clue, really, other than to know that safe mode is off.&#60;/p&#62;
&#60;p&#62;Thanks anyway
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prit on "Image Upload not working"</title>
			<link>http://hardkap.net/forums/topic/image-upload-not-working#post-1077</link>
			<pubDate>Wed, 15 Jul 2009 15:42:49 +0000</pubDate>
			<dc:creator>Prit</dc:creator>
			<guid isPermaLink="false">1077@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;Hi Hugh .. I am not familiar with the Mac or MAMP environment. I searched in google and found a discussion about a probable solution. Here is the link:&#60;br /&#62;
&#60;a href=&#34;http://forum.mamp.info/viewtopic.php?f=2&#38;#38;t=6482&#34;&#62;http://forum.mamp.info/viewtopic.php?f=2&#38;#038;t=6482&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Hope this will work. Are you using PHP4 or PHP5?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hjay on "Image Upload not working"</title>
			<link>http://hardkap.net/forums/topic/image-upload-not-working#post-1076</link>
			<pubDate>Wed, 15 Jul 2009 10:48:00 +0000</pubDate>
			<dc:creator>hjay</dc:creator>
			<guid isPermaLink="false">1076@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;Hi Prit, no I'm running this locally on a MAMP server installation on my Mac powerbook. MAMP is MAMP that's all I know, it comes as a distribution and mostly works! Maybe I could install the extension, no idea how, though!&#60;/p&#62;
&#60;p&#62;The page before login? Well it looks like index.php - I'm just calling &#60;a href=&#34;http://localhost:8888/members/pritlog&#34; rel=&#34;nofollow&#34;&#62;http://localhost:8888/members/pritlog&#60;/a&#62;, so I assume that will call index.php?&#60;/p&#62;
&#60;p&#62;Hugh
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prit on "Image Upload not working"</title>
			<link>http://hardkap.net/forums/topic/image-upload-not-working#post-1075</link>
			<pubDate>Wed, 15 Jul 2009 09:15:26 +0000</pubDate>
			<dc:creator>Prit</dc:creator>
			<guid isPermaLink="false">1075@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;I am sorry Hugh. I think if these solutions did not work, then the json extension may not be even installed on your server. Is it possible to talk to your host?&#60;/p&#62;
&#60;p&#62;If it was a VPS hosting or your own server at home, you can get into the shell and probably install the extension yourself. &#60;/p&#62;
&#60;p&#62;The login page tries to remember where you came from and redirects you there. What is the page before you get to the login page?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hjay on "Image Upload not working"</title>
			<link>http://hardkap.net/forums/topic/image-upload-not-working#post-1074</link>
			<pubDate>Wed, 15 Jul 2009 04:59:45 +0000</pubDate>
			<dc:creator>hjay</dc:creator>
			<guid isPermaLink="false">1074@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;Hi, thanks for the suggestions.&#60;/p&#62;
&#60;p&#62;Sadly neither seem to work. I tried adding the extension into php.ini first, but that failed.&#60;/p&#62;
&#60;p&#62;Leaving the php.ini in its newly amended state, I then amended index.php as suggested, but again no luck.&#60;/p&#62;
&#60;p&#62;The **Extensions** section of my php.ini looks like this:&#60;br /&#62;
;;;;;;;;;;;;;;;;;;;;;;&#60;br /&#62;
; Dynamic Extensions ;&#60;br /&#62;
;;;;;;;;;;;;;;;;;;;;;;&#60;br /&#62;
;&#60;br /&#62;
; If you wish to have an extension loaded automatically, use the following&#60;br /&#62;
; syntax:&#60;br /&#62;
;&#60;br /&#62;
;   extension=modulename.extension&#60;br /&#62;
;&#60;br /&#62;
; For example, on Windows:&#60;br /&#62;
;&#60;br /&#62;
;   extension=msql.dll&#60;br /&#62;
;&#60;br /&#62;
; ... or under UNIX:&#60;br /&#62;
;&#60;br /&#62;
;   extension=msql.so&#60;br /&#62;
;&#60;br /&#62;
; Note that it should be the name of the module only; no directory information&#60;br /&#62;
; needs to go here.  Specify the location of the extension with the&#60;br /&#62;
; extension_dir directive above.&#60;/p&#62;
&#60;p&#62;; Extensions&#60;/p&#62;
&#60;p&#62;;extension=apc.so&#60;/p&#62;
&#60;p&#62;extension=imap.so&#60;br /&#62;
extension=yaz.so&#60;br /&#62;
extension=pgsql.so&#60;br /&#62;
extension=pdo_pgsql.so&#60;br /&#62;
extension=pdo_mysql.so&#60;br /&#62;
extension=json.so&#60;/p&#62;
&#60;p&#62;; Loading PDO&#60;br /&#62;
extension=pdo.so&#60;br /&#62;
extension=pdo_sqlite.so&#60;br /&#62;
extension=sqlite.so&#60;br /&#62;
extension=pdo_mysql.so &#60;/p&#62;
&#60;p&#62;regards&#60;br /&#62;
Hugh&#60;/p&#62;
&#60;p&#62;ps. another oddity is when I log in I get a server &#34;page not found&#34; message. If I click the browser back button, I get my main page and I am logged in! But basically there seems to be a fualt in where login is sending me.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prit on "Image Upload not working"</title>
			<link>http://hardkap.net/forums/topic/image-upload-not-working#post-1073</link>
			<pubDate>Wed, 15 Jul 2009 01:19:04 +0000</pubDate>
			<dc:creator>Prit</dc:creator>
			<guid isPermaLink="false">1073@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;Sounds like the Json extension is not enabled or installed in your server's php installation. If you have access to php.ini file on your server, you can add the line &#34;extension=json.so&#34; in your php.ini towards the bottom along with other extension lines.&#60;/p&#62;
&#60;p&#62;Another option is to edit index.php of Pritlog and add the following lines to the top of the file after &#34;&#38;lt;?&#34; and the initial comments.&#60;/p&#62;
&#60;p&#62;if (!extension_loaded('json')) {&#60;br /&#62;
    if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {&#60;br /&#62;
        dl('php_json.dll');&#60;br /&#62;
    } else {&#60;br /&#62;
        dl('json.so');&#60;br /&#62;
    }&#60;br /&#62;
} &#60;/p&#62;
&#60;p&#62;The second solution will work only if the server admin has enabled &#34;dynamically loaded&#34; extensions. Please let me know how it goes.&#60;/p&#62;
&#60;p&#62;In any common PHP5 installation, Json and Sqlite should come by default. Some administrators disable almost all extensions. I don't know why they do this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hjay on "Image Upload not working"</title>
			<link>http://hardkap.net/forums/topic/image-upload-not-working#post-1072</link>
			<pubDate>Tue, 14 Jul 2009 19:23:12 +0000</pubDate>
			<dc:creator>hjay</dc:creator>
			<guid isPermaLink="false">1072@http://hardkap.net/forums/</guid>
			<description>&#60;p&#62;Hi, much like the look of Pritlog (I hope some more simple themes will come along!) and am playing with it on localhost before considering deployment.&#60;/p&#62;
&#60;p&#62;Most seems to work ok, except image upload from the nicEditor. When I browse for an image and 'submit' (ie. upload), I get this message:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;{&#38;quot;error&#38;quot; : &#38;quot;Image upload host does not have the required dependicies (json_encode/decode)&#38;quot;}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That sounds like a server/Apache thing to me, but really I've no idea...I'm just a simple blogger, not a geek!&#60;/p&#62;
&#60;p&#62;Any ideas what it might be? I'm running PHP 5.1.6 - Pritlog 0.81&#60;/p&#62;
&#60;p&#62;thanks&#60;br /&#62;
Hugh
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

