The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 651 posts ]  Go to page Previous  1 ... 18, 19, 20, 21, 22
Author Message
PostPosted: Mon Aug 29, 2011 4:25 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 29, 2011 4:12 am
Posts: 5
All the directories that needs write enabled has it. I fixed this, for installing a new template, by chmod 777 the joomla template directory.

_________________
Please read forum rules regarding signatures: viewtopic.php?t=65


Top
 Profile  
 
PostPosted: Tue Aug 30, 2011 12:31 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 29, 2011 12:55 pm
Posts: 20
thanks chrisjclay fo your replay
i ugrade my host to 200mb and its solved

_________________
http://www.dr-shadabi.ir
http://www.zarvansaffron.ir


Top
 Profile  
 
PostPosted: Fri Sep 16, 2011 7:56 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Apr 17, 2011 12:07 am
Posts: 10
Skitt wrote:
jc221 wrote:
I just had similar problem and solved it by manually changing some path variable in config.php.

Check your var $tmp_path = 'your/path/to/tmp';

Then make sure this folder is writable.

Hope it helps.


You just saved my bacon!!

Been bashing around, trying to solve an issue I thought was SUExec related for the past 2 weeks, getting very irritated, pulling most of my hair out, I find this obscure thread mentioning a whole bunch of closely related issues, saw this, worked like a charm, changed my path to my /usr/share/<username>/tmp folder, works great, everything is created fine, no problems at all.
I owe you a beer!


Many many thanks for this post !!!!!! It saved my life :) I'm trying to solve this for almost a week and I also thanks Leolam in this post viewtopic.php?p=2602829 that told how to find your Absolute path........

To find out what your absolute path is, copy the following code into a text editor (i.e. JEdit, Notepad, etc), save the file as a .php naming it whatever you prefer (i.e anyfilename.php.).
Code:
<?php
$path = getcwd();
echo "Your Absoluthe Path is: ";
echo $path;
?>
Using your FTP software, ftp the file you have just created to your root folder. (folder where Joomla is located (eg public_html or www)

Open your web browser and type in http://www.yourdomain.com/anyfilename.php. The result will show the absolute path!

Leo 8)





Thanks again!!!!! :p :p

_________________
http://www.theworkersllc.com/


Top
 Profile  
 
PostPosted: Sun Oct 02, 2011 6:24 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Feb 14, 2011 9:18 pm
Posts: 7
Hi folks, fin my case I just checked the file path to my docs.
What happened? Some wise guy on my hosting provider just changed the file locations so I wasn't able to do any installation at all and forgot to advise me >:(
Once corrected the path(s) everything run fine & smooth. The path(s) I've corrected were in the same Joomla's global configuration. Don't be confused: it wasn't the config.php file.

Amigos, Solo tuve que corregir las rutas a mis documentos.
Algún burro de mi proveedor de hosting omitió avisarme que habían hecho unas modificaciones en el servidor.
Una vez corregidas las rutas (path) en la configuración del mismo Joomla todo corrió de maravilla. Así de simple. Ojo, no hablo del config.php y esas cosas.

I hope this info works for you / Espero que esto les sirva


Top
 Profile  
 
PostPosted: Sat Oct 29, 2011 10:09 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Mar 11, 2009 3:18 am
Posts: 13
Location: San Francisco, CA
nm fixed it, my folders were set to the wrong user... needs to be apache


Top
 Profile  
 
PostPosted: Sun Nov 06, 2011 7:12 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 04, 2009 9:23 pm
Posts: 24
Another reason can be that your hosting area is now full. Once you hit the limit, you probably can't create a new folder.

I know from bitter experience (ie last hour) and only just had the brains to check out the hosting area :-[


Top
 Profile  
 
PostPosted: Sun Nov 06, 2011 7:14 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 04, 2009 9:23 pm
Posts: 24
Another reason can be that your hosting area is now full. Once you hit the limit, you probably can't create a new folder.

I know from bitter experience (ie last hour) and only just had the brains to check out the hosting area :-[


Top
 Profile  
 
PostPosted: Mon Nov 07, 2011 7:38 am 
Joomla! Ace
Joomla! Ace

Joined: Wed Nov 05, 2008 11:28 pm
Posts: 1028
hello dear community,


i am a joomla-user for years now!

...and yes i am very glad to see this thread.

Since it makes me sure that it is not just me - that is faced with the ugly problems for several years now! Sure thing!! Imagine: there are more than 636 postings and more than 323141 unique views. That is amazing. Everybody has got the same issus. I cannoit say how happy i am. I am pretty sure that tere is somehone that cans help me!!

From time to time i come here. Today i have to. I cannot add any extnsion to a page. So i almost go crazy. The same problem sind years and years now! Well i have reviewed all the postings here:

This is a very long thread.I feel a bit ashamed that i am not clever enough to get the issues fixed - with so much help here. I want to get the joomla up and running!

It is quite amazing to see such a bulk of postings here. This is open-source at its best,
at its veryvery best. I think that problem solving capabilities are at a very very high level.I thought
that i have tracked down the issue with the folder with some rough methods. I set all the folder-permissions recursively to 777: now the hackers are invited to hack the page.

But without no success: i allways get the errors: JFolder::create: Could not create directory

We need a better solution. Many guys here talk bout suPHP. suPHP is the only thing I really know of that would do what many guys are looking for. Well - what does suPHP? It allows php to run as your account user that it's setup on instead of apache so that files/folders created by php are still owned by your account user instead of apache. You could try this and see if it helps:

I'm on a Apache-Server. From what I can gather, I need to

- upgrade to a new server-configuration,
- then set up ISPConfig,
- then install PHP as Cgi,
- then install suPHP,
- then configure suPHP,
- then rebuild my vhost config files so suPHP will work.

Cripes! :eek: All this just so I can enjoy the added security of Joomla 1.5xy

Still waiting for a good solve or a sticky of the solves. Nothing I have tried on here will work.
PLZ advice. Do not let the 638 posters out in the dark.

Joo_jesus ;)

i soon go crazy _ and the computer will get throwed out of the window (19 floor )

Well - i run a dedicated server. With all the great and convenient circumstances. My friend looks at the backend and he does the administration. Well -i have several sites - thosse with strict and restrictive setup and others. btw: on a second site my admin made someting - he changed the situation so i am able to install almost everything very easily. I have talked to my admin - several months ago: He did some changes - but note: only for a certain part of the domains / webserver!
He installed and activated suPHP , then he configured suPHP, on the second site. He did it - and guess all installations-processes are pure vanilla. All goes very very well on these sites.

_________________
for more than 7 years now i am a big fan of Joomla and all its great options: With Joomla you can easily creat and extend your website: see the site that offers ideas & modules - extensions.joomla.org/


Top
 Profile  
 
PostPosted: Mon Nov 21, 2011 8:48 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Apr 07, 2009 6:27 am
Posts: 130
Location: Tampa, FL
Thank you @Krirash-man!!! Worked like a charm when I was trying to install Akkeba Back up. :)

_________________
JJ Spelman
http://www.j2studio.com
FaceBook: http://www.facebook.com/j2studio


Top
 Profile  
 
PostPosted: Mon Nov 21, 2011 6:39 pm 
Joomla! Ace
Joomla! Ace

Joined: Wed Nov 05, 2008 11:28 pm
Posts: 1028
hello Dear Kriash-man hello @ all,

i have been struggling for years now with this issue. i ve come to this thread and i have seen zillion of tipps here.
This is one of the most intriguing bug in Joomla - and more than 638 replies are the sad sad proof that Joomla has to get more user-friendly. -

More than 638 postings and ++ 325796 - and still counting. Well - i have seen lots of ideas here. But believe me: FastCGI / CGI is worse - i hate this solution. Many ppl do not see clear - They arent aware of the security risks involved (if any) by using FastCGI. Some see that running PHP in CGI mode alone is a big risk but they don't know about FastCGI.

Your solution looks interesting!

Krirash-man wrote:
trentrobertson wrote:
I am having same problem... cannot install extensions.
* JFolder::create: Could not create directory
* Warning: Failed to move file!

I also had a similar problem.
And the reason was that the installation has registered is not correct path.

So what did i do — is:
1 go to the directory where I installed Joomla.
2 find configuration.php file
3 change access level for this file to 755: it is necessary for the changes to remain
4 open it and Change next lines to:
var $log_path = './logs';
var $tmp_path = './tmp';
5 than save it.
and it worked

6 And do not forget to return back the 444 level of access to the file configuration.php


Well worth to give it a try!

Also worth to have a closer look at is the solution of Tex. Well as far as i understand him - he uses
JA-Extension-Manager or something alike - (What is JFTP by the way. - ist it a extension that works like JA-Extension-Manager. Has JFTP the same functionality!? Well i would love to test your solution, Tex.

Quote:
I have a Joomla site on a ISP (apache) and everything else is working fine but the installation of extension doesn't work as I would expect it to. I'm trying to install extension by using JFTP.

-> It nicely uploads the zip file to the tmp directory and makes a install_xxxxxxx directory within it, but when it starts to UZIP and want to create new directories in the install_xxxxxxx directory then it fails for some reason. I have tried with several different packages, so I don't believe it's because of that.
-> From Joomla I can see that the tmp directory is writable (should this matter when using FTP?).
-> Disk space is available.
-> If I edit the php file creating the folder, I can create other folders within tmp directory without any problems.
-> With Media Manager I can upload files with FTP account just fine.

Does anyone have some suggestion why it fails and how to correct it?



the third intresting thing i saw in this thread by a recent posting;


jc221 wrote:

Quote:
I just had similar problem and solved it by manually changing some path variable in config.php.
Check your var $tmp_path = 'your/path/to/tmp';
Then make sure this folder is writable.


... and pla gilbert (aka Leo) wrote -in response to this -

Quote:
To find out what your absolute path is, copy the following code into a text editor (i.e. JEdit, Notepad, etc), save the file as a .php naming it whatever you prefer (i.e anyfilename.php.).
Code:
<?php
$path = getcwd();
echo "Your Absoluthe Path is: ";
echo $path;
?>
Using your FTP software, ftp the file you have just created to your root folder. (folder where Joomla is located (eg public_html or www)
Open your web browser and type in http://www.yourdomain.com/anyfilename.php. The result will show the absolute path!



Conclusion - does that mean i should enter the path in the configuration of the Joomla (Version 1.7.2 or three anyway)

Should i add the found path to this variable in the configuration-file!?

Code:
 var $tmp_path = 'your/path/to/tmp';


love to hear from you

Above all: We need a better solution - one that fixes the bugs once for all

yours joo

_________________
for more than 7 years now i am a big fan of Joomla and all its great options: With Joomla you can easily creat and extend your website: see the site that offers ideas & modules - extensions.joomla.org/


Top
 Profile  
 
PostPosted: Tue Nov 22, 2011 5:57 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Nov 18, 2011 6:58 am
Posts: 208
Location: Paris
Greetings All
you should write the paths with predefined constants in joomla like:
JPATH,JPATHCOMPONENT etc.Use DS as a directory separator.
It will work on both windows and linux base servers.

_________________
Facing difficulties is not a achievement but finding its simple solution is called genius


Top
 Profile  
 
PostPosted: Thu Dec 01, 2011 2:16 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Dec 01, 2011 2:10 pm
Posts: 1
Mazzeltof wrote:
I had the same problem with the installation off modules e.s.

on my search i found this solution
http://www.antagonist.nl/help/apps/joomla/info

and this one works fore me


got same problem..

resolved by turning safe mode off and then once all the components are installed, turn it back on again


Top
 Profile  
 
PostPosted: Fri Dec 02, 2011 2:29 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Dec 02, 2011 2:23 pm
Posts: 1
Had a similar problem.
I recently moved this site (http://maplewoodcounselingservices.com/) to another hosting
acct. within goddaddy. the transfer was successful and the site is fine.
But when I wanted to installing a extension I got this Warning.
Not sure what went wrong here.
configuration.php problem?
not sure what to correct it to.
anyone


Top
 Profile  
 
PostPosted: Fri Dec 02, 2011 7:31 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
@tadaamar
Re read the thread it has several answers.

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
PostPosted: Sun Apr 29, 2012 7:23 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Apr 29, 2012 7:15 am
Posts: 4
Location: Twello, the Netherlands
In my FTP program I went to to "configuration.php" file
and right mouse clicked 'edit' to change it.
Then I changed
public $tmp_path = '/tmp';
into
public $tmp_path = './tmp';
so just adding one point.
Then I saved the file
This worked for me

Now I was able to upload a new template in the extension manager.


Top
 Profile  
 
PostPosted: Tue Aug 14, 2012 3:43 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Aug 14, 2012 3:33 pm
Posts: 1
Honestly, if I fail to leave a comment here GOD will not be please. Degira, got the solution to my huddles. You Guys are wonderful. Once again, I want to say a very BIG THANK YOU! :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh:
God Bless YOU!!!!!


Top
 Profile  
 
PostPosted: Thu Aug 30, 2012 10:58 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jun 29, 2009 11:47 pm
Posts: 47
Much to read here, so I don´t know if somebody came up with the same solution.

I had the same problem. Solution for me:
It turned out, the site had been moved to another server at some time.
So the adress to tmp and log folder - see joomla configuration - were wrong.
I got the new adresses, and the writeprotection dissapeard.

In my case, the adresses were to find in my login on my host page.

Hope this comes to use by some of you


Top
 Profile  
 
PostPosted: Fri Oct 19, 2012 11:22 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Nov 21, 2006 7:35 am
Posts: 2
I have a Joomla 1.5.xx site on an apache server and couldn't solve this error when trying to upload new extensions from the admin install section. When I checked via Cpanel the files loaded to the tmp folder had user and group both assigned as apache rather than having the user as being my user name.

I tried most the solutions I found here and nothing worked.

I thought I'd give the 'Install from Directory' method a go since I have no issues with ftp.

To do this simply add another subfolder to the tmp folder eg. tmp/install

I then used the same install directory address that I use in my config file + the additional subfolder and unzipped extension

In my case /var/www/vhosts/mysite.com/httpdocs/tmp/install/extfoldername

Clicked install and I got no errors. May work for some of you that have tried everything without any success.


Top
 Profile  
 
PostPosted: Thu Nov 08, 2012 7:22 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Thu Aug 17, 2006 9:27 am
Posts: 83
Location: United Kingdom
I have just experienced this problem trying to install the Sourcerer extension. Problem was I was out of server disk space. I removed the contents of the tmp directory to free up disk space then tried to install the extension again and voila! it worked.

Important to note that I also have Akeeba Back v 3.3.3 (2011-08-14) installed, which is configured to automatically make a backup prior to installing the extension.

_________________
http://www.starfishwebsites.com
In need of some loving... https://www.facebook.com/starfishwebsites


Top
 Profile  
 
PostPosted: Thu Mar 14, 2013 4:58 am 
Joomla! Intern
Joomla! Intern

Joined: Fri Dec 02, 2005 3:52 am
Posts: 73
For me it was just a matter of run out of webspace so Joomla could not create anything new.

Cheers
Chris


Top
 Profile  
 
PostPosted: Tue Apr 16, 2013 8:31 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Apr 16, 2013 8:27 am
Posts: 1
Fix for ‘JFolder::create: Could not create directory’ Error

Unlike other Errors, the fix for this error is pretty Simple. Follow the steps below to fix it.
1. Go to your Hosting panel >> File Manager >> Select your Domain/Sub-Domain and then open the configuration.php file.
2. Find var $log_path, it will contain the Directory path of your Old Server. Just replace the whole line with the code var $log_path = './logs';
3. Find var $tmp_path, it will also have the Directory path of your Old Server. Replace the whole line with the code var $tmp_path = './tmp';
That’s it! Your problem will be solved with this small tweak in the code. Make sure that you properly copy paste the code.
:) :) :) :) :) :) :) :) :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 651 posts ]  Go to page Previous  1 ... 18, 19, 20, 21, 22



Who is online

Users browsing this forum: Google Feedfetcher and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group