Problem in new server

vertti

No avatar

2006-11-04 22:10

Warning: fopen(db/detail.dat): failed to open stream: Permission denied in /var/www/vhosts/mydomain/httpdocs/shop/plugins/onlineStatistics/online_statistics.php on line 55

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/mydomain/httpdocs/shop/plugins/onlineStatistics/online_statistics.php on line 119

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/mydomain/httpdocs/shop/plugins/onlineStatistics/online_statistics.php on line 128

Warning: fopen(db/total.dat): failed to open stream: Permission denied in /var/www/vhosts/mydomain/httpdocs/shop/plugins/onlineStatistics/online_statistics.php on line 142

Warning: flock(): supplied argument is not a valid stream resource in /var/www/vhosts/mydomain/httpdocs/shop/plugins/onlineStatistics/online_statistics.php on line 143

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/mydomain/httpdocs/shop/plugins/onlineStatistics/online_statistics.php on line 144

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/mydomain/httpdocs/shop/plugins/onlineStatistics/online_statistics.php on line 145

Basicly the shop works fine. Pictures look great, and they work, but i can't add anything new from the admin-side. For example if I try to add new product, comes the sign:
Fatal error: Unsupported operand types in /var/www/vhosts/mydomaini/httpdocs/shop/plugins/productAttributes/productAttributes.class.php on line 426

Could someone help me this one? Don't know basicly anything about php...

Life without coding is pretending

vertti

No avatar

2006-11-04 22:13

So that is the impression shown on my carts first page. It looks normal, but that text is shown above the cart. So there is a big/or hopefully small error. I mean those warning-texts. Those show up in my carts first page. I don't want to struggle with everything, and this a new server now.

Life without coding is pretending

vertti

No avatar

2006-11-05 12:54

Found a solution. I had to chmod everything step by step in files and db. Now works fine!

By the way. How can I translate attributes, and add attributes? There is everything translated into finnish in my admin-panle, execp these two. I tried to add attributes in my lang-file, but did not succeed.. Problem was in my me I think:)

Life without coding is pretending

vertti

No avatar

2006-11-05 13:03

I would also like to change the coloro in lightbox-theme. Now it is black. Where can I find the files-where to change these things?

Life without coding is pretending

KiralyVlad

No avatar

2006-11-05 15:19

If I`m not mistaken, the translation file for the plugin ProductAttributes is located in plugins/productattributes/lang-en.php. Edit that and save the modified copy as lang-pl.php.
The plugin will automatically load the English file first, and then look for the language file in the Shop's configured language, so that the English text is always there as a backup.

Back to top
about us | contact