Announcement

#1 2015-08-10 07:40:33

andrewjs18
Member
2014-10-10
50

moved site to a different directory, how do I update the gallery path?

Hi,

I moved my piwigo gallery from /sites/mysite/public_html/piwigo to /sites/gallery, how can I update the configuration so it looks for the files in its new location? 

when I try to view the site at the new location, it'll throw errors like such:

Warning: include_once(/sites/mysites/public_html/piwigo/include/smarty/libs/sysplugins/smarty_internal_data.php): failed to open stream: No such file or directory in /sites/mysites/public_html/piwigo/include/smarty/libs/Smarty.class.php on line 95

thanks!


Piwigo version: 2.7.4
PHP version: 5.3
MySQL version: 5.5

Offline

 

#2 2015-08-10 08:16:17

andrewjs18
Member
2014-10-10
50

Re: moved site to a different directory, how do I update the gallery path?

I followed the steps described here, but it did not help: http://piwigo.org/forum/viewtopic.php?p … 88#p150188

Offline

 

#3 2015-08-10 08:45:56

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: moved site to a different directory, how do I update the gallery path?

Hi :-)

andrewjs18 wrote:

Warning: include_once(/sites/mysites/public_html/piwigo/include/smarty/libs/sysplugins/smarty_internal_data.php): failed to open stream: No such file or directory in /sites/mysites/public_html/piwigo/include/smarty/libs/Smarty.class.php on line 95

file include/smarty/libs/sysplugins/smarty_internal_data.php isn't present on your hostinf or CHMOD isn't correct


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 2015-08-10 08:48:56

andrewjs18
Member
2014-10-10
50

Re: moved site to a different directory, how do I update the gallery path?

ddtddt wrote:

Hi :-)

andrewjs18 wrote:

Warning: include_once(/sites/mysites/public_html/piwigo/include/smarty/libs/sysplugins/smarty_internal_data.php): failed to open stream: No such file or directory in /sites/mysites/public_html/piwigo/include/smarty/libs/Smarty.class.php on line 95

file include/smarty/libs/sysplugins/smarty_internal_data.php isn't present on your hostinf or CHMOD isn't correct

Hi,

I just chmod the entire directory to 755 and the error still persists.  The site was moved to a different directory on the same server.  where is the hostinf located and what should I be looking for?

also, smarty is looking for the files in the old piwigo directory, not the new one.

thanks

Last edited by andrewjs18 (2015-08-10 08:54:12)

Offline

 

#5 2015-08-11 07:50:12

andrewjs18
Member
2014-10-10
50

Re: moved site to a different directory, how do I update the gallery path?

seemed like a cache issue as I no longer have any errors when I try to visit the site.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact