Skip to main content

Posts

Showing posts with the label Webservers

Cron jobs Failure in Plesk 10.x - Issue with execution of Scripts via Cron Task Scheduler

Cron jobs Failure in Plesk 10.x - Issue with execution of Scripts through Cron Task Scheduler I have a php script. https://www.myserver.com/crontasks/checktask.php I tried to run the tasks from the command line as the user that owns them. The tasks executed normally ssh /usr/bin/php /var/www/vhosts/myserver.com/httpsdocs/crontasks/checktask.php But it fails when set as a scheduled task from plesk panel using command path

How to fix "PAYMENTECH_HOME must be defined for CGI applications to work" error while using paymentech Orbital Perl SDK?

" PAYMENTECH_HOME must be defined for CGI applications to work " - How to fix this error happened while using Chase paymentech Orbital Perl SDK? This topic cover the issue of not passing of Environment variables from Apache to CGI scripts Following error is occuring some times when trying to use PAYMENTECH perl SDK: Software error: PAYMENTECH_HOME must be defined for CGI applications to work BEGIN failed--compilation aborted at /usr/local/share/perl5/Paymentech/CGI.pm line 47. Compilation failed in require at paymentprocessor.pl line 25. BEGIN failed--compilation aborted at paymentprocessor.pl line 25.

HOSTGATOR - World's most trusted and reliable webhosting Team

HOSTGATOR - World's most recommended webhosting Providers Webmasters around the globe trust Hostgator as best of the bestest Web hosting providers in the world. One of the main factors in their success is the minimum downtime. The UP-Time statistics of HOSTGATOR is around 99 to 100 %. Most of the reviews in the NET world points out HG as the best Webhost service.  HG Provides a 24/7 support, live chat support and toll free phone services which makes it one of the best customer friendly service provider. They are the fastest growing and the most recommended web hosting service. They have shared hosting , Virtual Private Server VPS plan , dedicated servers and reseller hosting plans . They provide services in both Linux hosting and Windows hosting . Their after sales service is excellent. Hostgator support team are now available via live chat on-line, via phone support and email support as well. They are available 24/7. The Hostgator plans are covered by 45-days money...

Resolving Absolute Paths of included files from relative paths when using SEO friendly URLs

How to resolve base paths of your included files when using Htaccess mod rewrite rules for generating SEO friendly URL? Most of the programmers might have encountered a design break issue while using mod rewrite rule in htaccess to override websites dynamic url with SEO friendly URLs SEO friendly URLs Search Engine Friendly URLs are purely structural URLs that do not contain a query string and instead contain only the path of the resource. A dynamic url may look like: http://www.awebsite.com/index.php?act=search&key=vacancies this url may not look so pretty You can rewrite this to a SEO friendly URL like this http://www.awebsite.com/search/vacancies Even though the webpage is called as http://www.awebsite.com/search/vacancies in background server is accessing the actual url of the webpage ie, http://www.awebsite.com/index.php?act=search&key=vacancies This is done by using mod_rewrite rule in htaccess file. Apaches mod_rewrite rule is a really sophistic...

mod rewrite - checking query string in HTACCESS file

Using mod rewrite rule in htaccess Using Query string check in htaccess Question: Say I want to forward this URL: /cansas.php?m=2&id=2-0-0-0&sid=cansas to /cansas-is-good-for-you and let the header respond with a 301, or just update the URL through [R]. I have this in my .htaccess: Options +FollowSymlinks RewriteEngine on RewriteRule ^cansas.php?m=2&id=2-0-0-0&sid=cansas$ cansas-is-good-for-you [NC,R=301] I figured I could just do a simple forwarding, but somewhere along the way it stops working. If I cut out the ?m=2&id= etc, it forwards just the cansas part to the new part so it looks like this: cansas-is-good-for-you?m=2&id=2-0-0-0&sid=cansas. How can I forward it when I have several dynamic parameters in the URL string? Example on pages I need to forward: /cansas.php?m=2&id=2-0-0-0&sid=cansas /cansas.php?m=2&id=2-1-0-0&sid=cansas /cansas.php?m=2&id=2-2-0-0&sid=cansas Any help would be greatly appreciat...

Apache crashed while connecting to MYSQL

I had installed latest WAMP and tried to load a php page which uses a class file. the class file has code to connect to the Db for fetching records. When ever the script attempts to make a connection i got the following Error Window popup in IE and I am not able to do any DB related operation. Code Sample ----------------------------------------------------------------- function mysqlConnect(){ //Using Nonpersist connection $this->_connection=@mysql_connect($this->str_dbServer, $this->str_dbUname, $this->str_dbPass) or $this->returnError("Unable to connect to Database server"); //Using Persist Connection @mysql_select_db($this->str_dbName,$this->_connection); //Selecting DBASE } function mysqlDisconnect(){ // Disconnect the database after dbase access @mysql_close(); } ---------------------------------------------------------------- How can this be solved? This is ...


Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to recruit.vo@gmail.com   Read more »
Member
Search This Blog