I am trying to upgrade from an earlier version of sagepay php integration to the new v3.0. First step is to get the demo working. I downloaded VspPHPkit from the site and installed it under localhost/sagepay on my Ubuntu development environment.
I have setup the MYSQL and have checked that the mod_rewrite on Apache is enabled. All good. I have also copied the htaccess file to my web root.
My problem is that when I load localhost/sagepay/demo, the page renders ok but the links to the Form Protocol example points to localhost/sagepay/demo/form. This is not a directory which is in the installed example and neither is it specified in the htaccess as a redirect.
I must be missing something.
I had the same problem. It turned out that I had version 7.0 of PHP active rather than version 5.6. Once I switched to 5.6, it all worked fine.
Related
I have a site running through google app engine on runtime environment php 5.5. I am trying to deploy a new version of the app (I do this by changing the version number in app.yaml, reference here: Configuring with app.yaml) and deploying the app.
My current site can be reached via www.my-app-name.appspot.com (which works fine) and I should be able to view my new app version at www.2-dot-my-app-name.appspot.com, however I get a 404 error when trying to view version 2.
Version 1 and version 2 of my app are identical, the only difference being that version 2 has "2" as the version in app.yaml. Did I miss a step here? Is there something I need to do as far as configuration goes to view version 2? (Note: I do not want to make version 2 live, I just want to deploy it and test it to see if some changes work before making it live).
Edit: I tried testing to see what routing all traffic to version 2 of my app would do. In this case, version 2 of the app works but version 1 does not. It looks like when all traffic is routed to a particular version, that version is served up with the url "myappname.appspot.com". Any other versions are served using the url "version-dot-myappname.appspot.com". Anyone know how I can configure my app so that these urls work?
According to the Routing via URL doc the address for your new app version should be 2-dot-my-app-name.appspot.com, without the leading www.:
https://version-dot-app-id.appspot.com
http://version.app-id.my-custom-domain.com
Sends the request to an available instance of the given version of the default module.
I discovered what the culprit was. I had a PHP configuration file that changed the header location to 'http://www.'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']. Though this type of configuration will work for your default app, it will not work when testing a new version because when testing a new version the routing cannot contain the leading 'www'. Hope this helps someone else down the line who encounters the same problem.
Note: If you use traffic splitting, users will not have any issues accessing your new version as long as your custom domain is mapped correctly.
I'm brand new to web dev and I've installed Joomla to my website. For whatever reason I can't do hardly anything because my php version is only 5.3 according to Joomla.
However, from my cpanel I changed the php to 5.5.
How do I get Joomla to update the php version?
I have installed Wamp 2 and copied all the Joomla 3 folder files into the 'www' folder in wamp. when I try to install Joomla I get a message that I need a php version of atleast 5.3.1 or more but my wamp shows my phpversion is 5.3. Am confused, i need your help
The minimum PHP version required for Joomla 3.x is now 5.3.10. This is because of the Bcrypt password encryption method used for an improvement in security.
My suggestion would be to simply scrap the wampserver version you're currently using and download the latest version (2.5) which includes PHP 5.5.12 and MySQ; 5.6.17.
This will ensure you're Joomla installation will run smoothly.
Always ensure you're running the latest version of anything you use in the web development world
I'am getting this:
Your host needs to use PHP 5.3.1 or higher to run this version of Joomla!
when trying to run Joomla 3.1.1 on PHP 5.2...
My webspace provider could not make any php(5.3) upgrade at the moment.
I add
# Use PHP 5.3
AddType application/x-httpd-php53 .php
to my htacess.txt file but nothing
How can i run joomla 3 on php 5.2?
You can't run it on PHP 5.2.
But what you can do it find a better host that keeps PHP updated.
Joomla 3.x requires PHP 5.3.1 or higher to work properly but if your host offers an updated version of PHP, you can easily override the default PHP version with an htaccess rule.
The filename should be .htaccess.
Connect to your site with FTP or File Manager
Create a file named htaccess.txt
Paste the following line into it:
Code:
AddType application/x-httpd-php53 .php
Rename it to .htaccess.
If it doesn't work, you might want to change register_globals in your php.ini to off.
I hope this helps.
You cant, it most likely uses 5.3 specific features so what you are asking is impossible. YOu need to upgrade to 5.3
Joomla requires 5.3 or higher because it's accessing features not found in older versions of PHP. It's not an issue of merely trying to pretend you have 5.3 or lying to Joomla.
Some webhosts might actually have a newer PHP installed, but it's not using it by default. If you search the help there might be a trick to enable 5.3 or newer on your site. If your host isn't offering 5.3 at all, it's time to find a new host. And while you are looking for a new host, get one that's running a recent build of 5.4.x because even 5.3 is now considered old.
Your htaccess file name should be .htaccess not htaccess.txt
Secondly, your host has to have that application type registered.
I'm running the latest PHP and pear on a windows machine with apache
2.4 (XAMPP), I have installed the latest versions of OLE, PEAR and
Spreadsheet_Excel_Writer. PEAR is installed and working.
However now instead of generating a download for the excel file on a
specific page (generateexcel.php) and redirecting to the previous page, the
page (generateexcel.php) is actually displayed (in the url with specific paramenters according to the date selected), it is blank. In the hosted
version it works perfectly and is on a linux based server with apache 2.0 with PHP 5.3.18.
So basically on my development version it is not working, it is
connecting to database and everything else on the site is working.
Is this a problem with the include_once and require_once for the
Writer.php and the relative paths being incorrect because of being on
windows.
Any assistance will be appreciated. Even if I could get some kind of error reporting it would be very useful. I will try: PEAR::isError() in the meantime.
Make sure the version of Spreadsheet_Excel_Writer and OLE are consistent with the code.
ie. Uninstall and use previous versions, the same versions used on the server or when initial coding went down.