The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 24 posts ] 
Author Message
PostPosted: Sun Oct 03, 2010 10:23 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Sep 26, 2010 8:39 pm
Posts: 17
Hi Everyone,

I am wanting to install Prestashop on my Joomla website, and am following the instructions on their website, but I have got stuck!

Steps on Prestashop website state:
1.In the root directory of your PHP folder, open the php.ini file.
2.Uncomment the line extension=php_gd2.dll (about half-way through the file, in the middle of a long list of extensions) by deleting the ";"

I do not have a php folder as my site is not hosted on my computer. It is hosted with a 3rd party, so after some google searches, i have worked out next steps, which are:
a) I have found my (hidden) htaccess.txt file
b) I have renamed it to .htaccess
c) I am now trying to "uncomment the line" - but am not sure what to do? For starters, the file does not contain any ";"

I have copied the text from my .htaccess file, and would appreciate it if someone could highlight what changes I need to make to Turn on GD Library functionality so that this application will work when i install it:


##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section


Last edited by ooffick on Mon Jul 25, 2011 3:25 pm, edited 1 time in total.
Mod Note: Changed the title to something more descriptive.


Top
 Profile  
 
PostPosted: Sun Oct 03, 2010 10:50 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Wed Oct 31, 2007 3:48 pm
Posts: 2810
Location: Victorian England 1885
you do have a PHP.ini file but your host will have to modify it.

why are you modifying the .htaccess?

_________________
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steampunk-clock-calendar


Top
 Profile  
 
PostPosted: Mon Oct 04, 2010 7:21 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Sep 26, 2010 8:39 pm
Posts: 17
Hi Beededea,

I found several posts on this forum providing advice - which suggested that by changing the name of your htaccess.txt you can make changes to your PHP.ini file

I'ts likely I may be making a mistake, but other than following other's advice, I don't know how to find a solution to my issue. Below is a link to an example of one of the posts I found. I will try contacting my host via online chat - but I really doubt they will want to edit files on my behalf.

If you have any other ideas, they will be most appreciated. Thank you so much for your time

viewtopic.php?f=429&t=350630


Top
 Profile  
 
PostPosted: Mon Oct 04, 2010 8:07 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Wed Oct 31, 2007 3:48 pm
Posts: 2810
Location: Victorian England 1885
I hear what you are saying but basically if your host won't change things for you then you are with the wrong host. There are things that need to be done at the system level when you run a Joomla site, changing allocated memory, restoring full panel backups which can't be done at the Joomla level.

You need a host that will do these requests on demand. These are hosts that specifically host Joomla sites and know what needs to be done, not just any host will do. You should not be implementing workarounds for someone who just won't do his job. Your time is more valuable than this and you are paying!

Have you backed up your site recently? If not then then implement a good backup tool and take a backup of your site, preferably with cpanel, give it to another host and build a sandbox site there. Make suire he understandds what requirements you might have with regard to hosting and if they answer your questions in a woolly fashion, leave!

Then you can make the changes as you require and go live as soon as you like.

I know this might seem a roundabout way of solving the problem you wanted to solve but it is a direct assault on the ACTUAL problem, ie. you can't modify PHP.ini.

Questions to ask a host:

If I give you a full backup will you restore it for me?
If I require changes to my php.ini file will you make them for me?

Answers: YES = good host.

_________________
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steampunk-clock-calendar


Top
 Profile  
 
PostPosted: Fri Oct 22, 2010 11:14 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 10, 2008 9:03 pm
Posts: 46
just reading this and thought i would give a few ideas.

If you are using a normal webhost there will be no php folder or php.ini file to edit unless you put in there. The php.ini file is not normally in a public folder unless you put it there.

installing prestashop should not require any alteration to the php.ini file. however i installed my prestashop in a sub folders called /shop/. you cannot have both running in the root directory.

if you definately need a php.ini file to edit so you can overide settings what i suggesst you do is get the joomla plugin called GuardXT. This security plugin has a feature where for security it creates a php.ini file in the root and in the joomla admin folder. You can copy on of these and put it into the prestashop folder and alter it accordingly (you will probably find the mentioned lines). This assumes your host allows php.ini overiding. All files then in the /shop/ folder will obey the new php.ini settings.

shoulders


Top
 Profile  
 
PostPosted: Thu Dec 30, 2010 7:48 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Sun May 25, 2008 8:05 am
Posts: 3134
Location: Calgary, Alberta, Canada
Howdy,

Yes, this is a tad "old", but I have just discovered PestaShop and I am very impressed! :) The latest stable version 1.3.5 installed with zero issues on a Hostgator shared Linux account; was up and running in a few minutes. And did I mention that I really liked what I saw? :) Very quick, clean, both front end and back, and the themes look "relatively" easy to style.

Cheers!
Lyle

_________________
http://www.2ninerniner2.com - eFront and TalentLMS implementation and support
http://www.trainingforaviation.com - the name says it all!

@2ninerniner2 -don't take life too seriously - no one has ever gotten out of it alive


Top
 Profile  
 
PostPosted: Sat Feb 12, 2011 4:35 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 10, 2008 9:03 pm
Posts: 46
AndrewJohnson wrote:
You will end up asking a lot of questions about Prestashop, it has it's quirks but stick with it because it's a fantastic piece of software - bit like Joomla in that respect!


i have to agree, if you are starting a new shop wait for 1.4 its nuts. loads of features.


Top
 Profile  
 
PostPosted: Sat Feb 12, 2011 4:47 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Wed Oct 31, 2007 3:48 pm
Posts: 2810
Location: Victorian England 1885
nuts being mad?

_________________
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steampunk-clock-calendar


Top
 Profile  
 
PostPosted: Sat Feb 12, 2011 5:03 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 10, 2008 9:03 pm
Posts: 46
Nuts as in really good (it is a british saying)

Prestashops model is very similiar to joomlas. The core is free but with everything you need to do an online shop, there are free extensions and paid for ones. But with 1.4 the amount of features that are already built in is excellent and better than probably most paid for systems.

If you need an online shop then Prestashop is the only choice for me.


Top
 Profile  
 
PostPosted: Thu Jul 21, 2011 10:39 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jul 21, 2011 9:19 am
Posts: 1
Hi, just starting,
I have been running my on-line business with Prestashop for some years now and it works very well, a friend who's business is web site design suggested joomla to me. Can anyone give the advantages of running prestashop within joomla?
will joomla speed up or slow down loading?
does a joomla based site get any priority with search engines?
now I must play with it to get some experience


Top
 Profile  
 
PostPosted: Thu Jul 21, 2011 11:06 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 10, 2008 9:03 pm
Posts: 46
joomla is an excellent cms, you can use virtuemart with joomla for a shop. The advantages of this is that you only need one template.

However prestashop is a fantastic Cart/shop. It does everything, it is free and well developed. the main program and basic modules are all free but the paid for modules are expensive ie payment gateways (paypal and google are free). prestashop is very fast and light weight, Version 1.5 should have a standardised template system. The downside is that you will need to matching templates, ie one for joomla and one for prestashop if you want both systems.

basically if you want a shop use prestashop, without question.

If you want a shop with the advantages of joomla, i use joomla and prestashop (i.e. www.mydomain.com and www.mydomain.com/shop) with matching templates


Top
 Profile  
 
PostPosted: Thu Jul 21, 2011 2:06 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Wed Oct 31, 2007 3:48 pm
Posts: 2810
Location: Victorian England 1885
Shoulders - Nuts is a british saying, since when, I've been British since 1961 so I would have heard it.
Must be local to you.

http://dictionary.reference.com/browse/nuts

Prestashop vs. Virtuemart - one major reason for using VM is that it is entirely integrated into Joomla. This may not be an obvious bonus to VM but when you start configuring a site as a shop you will see the advantages. This is a Joomla site with VM and the templating is seamless. The integration is too. http://www.sugarclothing.co.uk

_________________
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steampunk-clock-calendar


Top
 Profile  
 
PostPosted: Thu Jul 21, 2011 5:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 10, 2008 9:03 pm
Posts: 46
beededea wrote:
Shoulders - Nuts is a british saying, since when, I've been British since 1961 so I would have heard it.
Must be local to you.

http://dictionary.reference.com/browse/nuts

Prestashop vs. Virtuemart - one major reason for using VM is that it is entirely integrated into Joomla. This may not be an obvious bonus to VM but when you start configuring a site as a shop you will see the advantages. This is a Joomla site with VM and the templating is seamless. The integration is too. http://www.sugarclothing.co.uk



As in 'its the nuts' (like the dogs bol**x), see BO'selecta, it could be a northen thing as i am from lancashire.


Top
 Profile  
 
PostPosted: Mon Jul 25, 2011 3:10 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 04, 2010 9:03 am
Posts: 73
shoulders wrote:
just reading this and thought i would give a few ideas.

If you are using a normal webhost there will be no php folder or php.ini file to edit unless you put in there. The php.ini file is not normally in a public folder unless you put it there.

installing prestashop should not require any alteration to the php.ini file. however i installed my prestashop in a sub folders called /shop/. you cannot have both running in the root directory.

if you definately need a php.ini file to edit so you can overide settings what i suggesst you do is get the joomla plugin called GuardXT. This security plugin has a feature where for security it creates a php.ini file in the root and in the joomla admin folder. You can copy on of these and put it into the prestashop folder and alter it accordingly (you will probably find the mentioned lines). This assumes your host allows php.ini overiding. All files then in the /shop/ folder will obey the new php.ini settings.

shoulders


I think you provide some good help here. Although I have problems installning Presta in my Joomla 1.5.23

1. I have downloaded Joomla and istalled it.
2. I have created a direction in Joomla called /shop
3. I have installed Prestashop, and in in database prefix I have changed ps_ to test_, like here
http://www.prestashop.com/forums/topic/ ... to-joomla/

4. No I can not configure these two, Joomla and Prestashop. Where do I change database name and the prefix?


Last edited by superx11 on Mon Jul 25, 2011 3:52 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Jul 25, 2011 3:27 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 10, 2008 9:03 pm
Posts: 46
use a separate database for joomla and prestashop, also do not tell everyone your prefix.

you do not configure prestashop in joomla. all you do is create an 'External Link' Menu item to point to /shop/

shoulders


Top
 Profile  
 
PostPosted: Mon Jul 25, 2011 3:57 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 04, 2010 9:03 am
Posts: 73
shoulders wrote:
use a separate database for joomla and prestashop, also do not tell everyone your prefix.

you do not configure prestashop in joomla. all you do is create an 'External Link' Menu item to point to /shop/

shoulders


Ok, thanks!

But how can the "shop" recieve the sam domain name if it is a different database? I would like i tto be like: mydomain/shop.com


Top
 Profile  
 
PostPosted: Mon Jul 25, 2011 4:07 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 10, 2008 9:03 pm
Posts: 46
you can run multiple cms/software on 1 domain. it is not a problem. you can have more than one database they will all work on the same domain. It is like having more than one program running on windows at the same time. look at my sites:

http://www.lancastrian-it.co.uk
http://www.lancastrian-it.co.uk/shop/

both with separate databases but on the same domain.


Top
 Profile  
 
PostPosted: Mon Jul 25, 2011 4:53 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 04, 2010 9:03 am
Posts: 73
shoulders wrote:
you can run multiple cms/software on 1 domain. it is not a problem. you can have more than one database they will all work on the same domain. It is like having more than one program running on windows at the same time. look at my sites:

http://www.lancastrian-it.co.uk
http://www.lancastrian-it.co.uk/shop/

both with separate databases but on the same domain.


Looks great. Good work!

I will try this tonight.


Top
 Profile  
 
PostPosted: Fri Jul 29, 2011 9:55 am 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 04, 2010 9:03 am
Posts: 73
shoulders,

how about if you want one more Joomla database for another website under the same domain. Is that possible, or is it just databases like prestashop that works with other prefixes regarding the database?


Top
 Profile  
 
PostPosted: Fri Jul 29, 2011 10:35 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 10, 2008 9:03 pm
Posts: 46
if you want 2 joomla website ie.

mydomain.com/joomla/
mydomain.com/joomla2/

i would use 2 databases. you can install 2 joomlas in to the same database by using a different prefix but i would not use that method.


Top
 Profile  
 
PostPosted: Sun Jul 31, 2011 8:46 am 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 04, 2010 9:03 am
Posts: 73
shoulders wrote:
if you want 2 joomla website ie.

mydomain.com/joomla/
mydomain.com/joomla2/

i would use 2 databases. you can install 2 joomlas in to the same database by using a different prefix but i would not use that method.


Ok thanx!

I had some problem with 2 databses, beacause of the prefix.


Top
 Profile  
 
PostPosted: Wed Apr 18, 2012 12:15 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Apr 18, 2012 12:11 pm
Posts: 1
Solved the same problem with two different db ;)
Thx

http://helpdesk.digitfort.gr
http://www.digitfort.gr


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 1:43 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Sep 16, 2012 12:05 am
Posts: 2
You dont need external link to your Prestashop. I just installed the Prestashop into my Joomla website using the Prestashop component for Joomla 2.5. Prestashop is fully integrated with Joomla Cms. Its amazing guys! You can find the Prestashop component for Joomla here www.prestashop-joomla.com. also there is an online demo www.prestashop-joomla.com/online-demo

Merci beaucoup,
Remi


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 10:07 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 10, 2008 9:03 pm
Posts: 46
dont bother. its a subscription plan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ] 



Who is online

Users browsing this forum: No registered users and 10 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