• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Fatal error while viewing site page

S

satwikc

Guest
Hi

I am getting an error upon viewing particular page (which has photos module) on one of our client website. I am able to publish the site successfully but receives error while browsing particular pages for which i have selected Photos module under site edit > Pages > Standard pages

I am receiving following error message
URL: http://www.sahomestyling.com.au

error page: http://www.sahomestyling.com.au/page2.php

Fatal error: Call to undefined function xslt_create() in /home/styl3z/public_html/include/SB/Modules/GUI/Xml/Object.php on line 67

can you guys look into it and propose a solution.

Regards
Satwik
 
First of all, try to re-publish the entire website. It can be done on latest Publish step in Parallels Plesk Sitebuilder Wizard.
If it does not help, try to check apache log files on the server where sahomestyling.com.au site located, you should probably get some exact errors there.
By the way, does gallery work on site preview in Sitebuilder Wizard?
 
Log and error description

Hi

I checked log file and these are the two log entries i can find for the site

1. The site 'SA Home Styling' has been successfully published....

2. The data of 'ImageGallery' module (id is 'dy6xofuy68a') was published successfully (site alias is 'SA Home Styling', owner is...


I also tried republishing the whole site but its still showing the same problem.

Yes, when i go to site edit wizard and check for the photo gallery, it does work well and i am able to create categories, upload images but when i publish it on the site, then only it stops working and give FATAL error.

can you please fix it?
 
Could you provide more exact error when you try to upload image into gallery through Wizard? Try to check admin Logs section as soon as error appeared.
 
Hi

I have figure out the issue so can you tell me why this is happening?

I have put this URL in publishing settings http://174.37.207.46/~styl3z/ instead http://www.sahomestyling.com.au (as the site URL was giving "PHP extensions not installed" error message but when i tried publishing site using its IP, i was able to publish it successfully.

So if i browse the photo page http://174.37.207.46/~styl3z/page2.php it works fine but when i try to access the same page using its URL, its giving FATAL eror http://www.sahomestyling.com.au/page2.php .


I think you should be clear about the exact problem now. Can you please guide ?
 
Update on the issue

Hi Dmitry

can you please update on ways to fix the problem? I reckon i did replied to your last post and it should have made clear about what causing the problem. Anyway, i am pasting the last post again for your reference.


Hi

I have figure out the issue so can you tell me why this is happening?

I have put this URL in publishing settings http://174.37.207.46/~styl3z/ instead http://www.sahomestyling.com.au (as the site URL was giving "PHP extensions not installed" error message but when i tried publishing site using its IP, i was able to publish it successfully.

So if i browse the photo page http://174.37.207.46/~styl3z/page2.php it works fine but when i try to access the same page using its URL, its giving FATAL eror http://www.sahomestyling.com.au/page2.php .


I think you should be clear about the exact problem now. Can you please guide ?

Regards
satwik
 
I have checked domain and IP address and domain resolves properly:

# host sahomestyling.com.au
sahomestyling.com.au has address 174.37.207.46

# host www.sahomestyling.com.au
www.sahomestyling.com.au is an alias for sahomestyling.com.au.
sahomestyling.com.au has address 174.37.207.46

It looks like default location for IP address http://174.37.207.46 and domain root directory itself for http://www.sahomestyling.com.au are different and PHP configuration can be different there.

I can suggest you to put phpinfo.php file into both locations. For domain it should be /home/styl3z/public_html/ but for IP address you should be able to figure out from apache configuration on the server. Let phpinfo.php file include following info:

<php?

phpinfo();

?>

After that run this phpinfo.php file through browser for both urls and check the information. It should be different according to situation you have. You need to make sure that necessary PHP extensions and PHP itself are enabled for domain.
 
Back
Top