我已经用webmin在旧电脑上设置了ubuntu服务器.我不知道发生了什么,但我重新启动了服务器,当它启动它时,现在得到这个,当Apache尝试启动时.
* Starting web server apache2
apache2: Syntax error on line 237 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory
Action 'start' failed.
The Apache error log may have more information.
Run Code Online (Sandbox Code Playgroud)
我已在此行检查此文件,它看起来像这样:
# Include the virtual host configurations:
Include sites-enabled/
Run Code Online (Sandbox Code Playgroud)
我已经删除了Apache并重新安装它但不确定为什么它仍然失败.
我希望从货币符号中拆分价格,以便我可以添加
<span class="price" itemprop="price">
Run Code Online (Sandbox Code Playgroud)
两者之间.
我在价格中找到了代码.
<p class="special-price">
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
<?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
</span>
</p>
Run Code Online (Sandbox Code Playgroud)
我如何改变这一点,以便我可以在符号和价格之间放置跨度.