WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Cannot install template: Fatal error: require() [function.require]: Failed openi
(1/1)
dadio:
Hi!
I made some modifications to template andreas00, changing a bit the index.php to translate some of it in french and changing the front.jpg image which appears at the top to make it more relevant to my site. I made sure to update the info.php file in it.
Then I zipped it on mac notebook under the name andreas00_ebeg.zip
When I try to upload it on the frontend interface, I get the following error:
--- Code: ---Warning: require(/var/www/html/temp/unzip/info.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/admin/templates/install.php on line 61
Fatal error: require() [function.require]: Failed opening required '/var/www/html/temp/unzip/info.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/admin/templates/install.php on line 61
--- End code ---
It seems to be similar to the following post, but I don't understand anything it says on that post since it's not in English: https://forum.WebsiteBaker.org/index.php/topic,10246.0.html
Any help?
vyni:
Hi dadio
this part looks strange to me:
......include_path='.:/usr/share/php:/usr/sha
But I donĀ“t understand php - so I can say nothing about
To figure out if there is a global error or a specific one:
First of all try to upload it in the BACKEND interface, in the section add-ons/templates
than upload the UNCHANGED zip-package of this module - is this ok ?
If not - the linked post informes, that the download-location WebsiteBaker.de holds a broken template - is it from there?
If it works - did You keep the right folder-structure on rezipping the template?
When You open the zip-file You should see the files index.php, info.php Your css-file and if You have a folder for graphics and so on
If this all is ok and You still get the error only on the modifyed tempalte - find the error
regards from Himberg
kweitzel:
Check that the file has been zipped correctly. There is some speciality with the MAC Systems which rezipps the files into a folder ... the errormessage is well known and there is lots of info in the forum.
cheers
Klaus
Navigation
[0] Message Index
Go to full version