我从themeforest购买主题,我尝试上传主题但出现此错误
'500服务器错误
服务器上的配置错误导致打嗝。检查服务器 记录,解决问题,然后再试一次。'
我怎么能解决这个错误....?
答案 0 :(得分:0)
一种可能性是您在上传主题时超出了上传限制。
Here是一篇关于如何增加它的文章。
基本上,打开 php.ini ,然后找到cannot reindex from a duplicate axis
选项并将该限制增加到:
#!/usr/bin/python3
import subprocess,time
from multiprocessing import Process, Manager
def worker1(d):
d["key"]=[] #Creating empty dict item
d["key"]+=["hellostack"] #Adding first value
d["key"]+=[1] #Adding second value
print ("from worker1:",d)
#d["key"][1]+=2 #<<<< ISSUE HERE - Modifying second value does nothing
d2 = d["key"] #Creates a COPY of dictionary list
d2[1]+=1 #Modifies value inside COPY
d["key"] = d2 #Merges the dictionary key with the COPY
print ("Now value should be upped!..",d)
def worker2(d):
while True:
time.sleep(1)
print ("from worker 2:",d)
manager = Manager()
d = manager.dict()
worker1 = Process(target=worker1, args=(d,))
worker2 = Process(target=worker2, args=(d,))
worker1.start()
worker2.start()
worker1.join()
worker2.join()